home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2004 April / Gamestar_61_2004-04_dvdb.iso / DVDStar / Editace / hltp.exe / {app} / Source Code / CZBindMaker / CZBindMakerMainForm.cs < prev    next >
Text File  |  2003-11-30  |  178KB  |  4,591 lines

  1. /* 
  2.  * CZ Bind Maker
  3.  * 
  4.  * By: Steven Whitley (aka [CZ] Qw4z0)
  5.  * 
  6.  * CZ Bind Maker is a key Bind utility for Counter-Strike 1.6
  7.  * and is distributed under the GNU Public License.
  8.  * 
  9.  * This program is free software; you can redistribute it and/or
  10.  * modify it under the terms of the GNU General Public License
  11.  * as published by the Free Software Foundation; either version 2
  12.  * of the License, or (at your option) any later version.
  13.  * 
  14.  * This program is distributed in the hope that it will be useful,
  15.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  17.  * GNU General Public License for more details. 
  18.  * 
  19.  * You should have received a copy of the GNU General Public License
  20.  * along with this program; if not, write to the Free Software
  21.  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  22.  * 
  23.  * If you need further support for this program you may visit
  24.  * http://www.bindmaker.org/ and post in the forums for help.
  25.  * 
  26.  *  
  27.  * Any Changes or modifications of this source may be submitted for inclusion
  28.  * in the official release of CZ Bind Maker to Steve Whitley at support@bindmaker.org.
  29.  * 
  30.  * Be sure to comment your code as follows:
  31.  * 
  32.  * // [ AUTHOR ] [ DATE ] 
  33.  * // [ DESCRIPTION OF THE CHANGE OR ADDITION ]
  34.  * 
  35.  * */
  36.  
  37. /* ###############################################
  38.  * #          Sand Bar Library License           #
  39.  * ###############################################
  40.  * 
  41.  * This release of SandBar is available at no charge for you to use in your freeware products 
  42.  * royalty-free. This license does not allow distribution of SandBar with software that is
  43.  * sold or generates income in any way. Use of this release is subject to my name being
  44.  * displayed as a credit in the About dialog in your application. If this is unacceptable you
  45.  * will need to purchase the commercial license.
  46.  * 
  47.  * When distributing this product with software where the source code is available (under
  48.  * GPL or other similar licenses) you are required to distribute this license file with the
  49.  * binary. This is to ensure other developers understand fully the terms of this release.
  50.  * 
  51.  * By using, downloading or posessing this product you agree not to attempt to decompile or
  52.  * reverse engineer it in any way. Enjoy!
  53.  * 
  54.  * Tim Dawson
  55.  * http://www.divil.co.uk/net/
  56.  * 
  57.  * */
  58.  
  59. #define CHECK_VERSION
  60. #define SAY
  61.  
  62. #undef CHECK_VERSION
  63. #undef SAY
  64. using System;
  65. using System.IO;
  66. using System.Net;
  67. using System.Xml;
  68. using System.Data;
  69. using System.Drawing;
  70. using System.Reflection;
  71. using System.Collections;
  72. using System.Diagnostics;
  73. using System.Windows.Forms;
  74. using System.ComponentModel;
  75. using System.Text.RegularExpressions;
  76. using TD.SandBar;
  77. using Microsoft.Win32;
  78.  
  79. namespace CZBindMaker
  80. {
  81.     /// <summary>
  82.     /// CZ Bind Maker is a utility to configure binds for CS 1.6
  83.     /// </summary>
  84.     public class CZBindMakerMainForm : System.Windows.Forms.Form
  85.     {
  86.         #region PROGRAM VARIABLES
  87.         // CUSTOM CZ BIND MAKER VARS
  88. // FOR SOME REASON THIS WAS CAUSING SOME CLIENTS TO CRASH
  89. //        public double APP_VERSION =                    // USED IN INTERNAL VERSION CONTROL (VERSION.CS)
  90. //            double.Parse(Assembly.GetExecutingAssembly().GetName().Version.Major.ToString()+"."+
  91. //            Assembly.GetExecutingAssembly().GetName().Version.Minor.ToString()+
  92. //            Assembly.GetExecutingAssembly().GetName().Version.Build.ToString());            
  93.         private const string NO_KEY_PRESSED = "";    // NEED I EXPLAIN... CONSTANT FOR EMPTY STRING
  94.         public static string applicationVersion;
  95.         public static string m_configTransferPath;    // USED FOR TRANSFERRING DATA BETWEEN FORMS
  96.         //private bool m_autoUpdate;                // USED TO TURN AUTO-UPDATE ON AND OFF
  97.         private string m_configFilePath = "";        // PATH OF THE CONFIG FILE (INCLUDES FILENAME)
  98.         private string m_bindFilePath = "";            // PATH OF THE CZBIND FILE (INCLUDES FILENAME)
  99.         private string m_userFilePath = "";            // PATH OF THE USECONFIG FILE (INCLUDES FILENAME)
  100.         private StreamWriter m_writer;                // STREAM WRITER USED FOR WRITING CHANGES TO FILES
  101.         private StreamReader m_reader;                // STREAM READER USED FOR READING FILE CONTENTS
  102.         private string m_configFileContents;        // LOCAL STORAGE OF THE CONFIG FILE CONTENTS
  103.         private string m_binFileContents;            // LOCAL STORAGE OF THE CZBIND FILE CONTENTS
  104.         private string m_userFileContents;            // LOCAL STORAGE OF THE USERCONFIG FILE CONTENTS
  105.         private string m_consoleColor;                // LOCAL VALUE OF THE CONSOLE COLOR  EX: "255 255 255" FOR THE COLOR WHITE
  106.         private RegistryKey m_rKey = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Valve\Steam", true);
  107.         private RegistryKey m_rate = Registry.CurrentUser.OpenSubKey(@"SOFTWARE\Valve\Steam", true);
  108.         private System.Windows.Forms.OpenFileDialog ConfigFileFinder;
  109.         private System.Windows.Forms.ColorDialog ConsoleColorPicker;
  110.         private System.Windows.Forms.ImageList KeyBoardImageList;
  111.         private System.Windows.Forms.ImageList weaponImageList;
  112.         private System.Windows.Forms.ToolTip CZBindToolTip;
  113.         private PrivateSettings.SettingContainer UserPreferencesSettingContainer;
  114.         private PrivateSettings.Setting ToolTipsEnabled;
  115.         private PrivateSettings.Setting ConfigFilePath;
  116.         private PrivateSettings.Setting BindFilePath;
  117.         private PrivateSettings.Setting UserConfigPath;
  118.         private PrivateSettings.Setting ToggleAutoUpdate;
  119.         private System.Windows.Forms.ImageList ContextMenuImageList;
  120.         private System.Windows.Forms.ImageList MainMenuimageList;
  121.         private System.Windows.Forms.Panel panel1;
  122.         private System.Windows.Forms.TabControl main_tabControl;
  123.         private System.Windows.Forms.TabPage binds_tabPage;
  124.         private System.Windows.Forms.CheckedListBox BindOptions_ListBox;
  125.         private System.Windows.Forms.TabPage config_tabPage;
  126.         private System.Windows.Forms.NumericUpDown rate;
  127.         private System.Windows.Forms.Label label14;
  128.         private System.Windows.Forms.CheckBox cl_righthand;
  129.         private System.Windows.Forms.CheckBox _cl_autoweaponswitch;
  130.         private System.Windows.Forms.CheckBox _vgui_menus;
  131.         private System.Windows.Forms.GroupBox groupBox3;
  132.         private System.Windows.Forms.RadioButton net_grappos_2;
  133.         private System.Windows.Forms.RadioButton net_grappos_1;
  134.         private System.Windows.Forms.RadioButton net_grappos_3;
  135.         private System.Windows.Forms.NumericUpDown Fps_Range;
  136.         private System.Windows.Forms.CheckBox cl_weather;
  137.         private System.Windows.Forms.CheckBox hud_fastswitch;
  138.         private System.Windows.Forms.CheckBox hud_centerID;
  139.         private System.Windows.Forms.GroupBox net_graph_GroupBox;
  140.         private System.Windows.Forms.RadioButton net_graph_0;
  141.         private System.Windows.Forms.RadioButton net_graph_3;
  142.         private System.Windows.Forms.RadioButton net_graph_2;
  143.         private System.Windows.Forms.RadioButton net_graph_1;
  144.         private System.Windows.Forms.CheckBox DynamicCrossHairs;
  145.         private System.Windows.Forms.Label label4;
  146.         private System.Windows.Forms.TextBox PlayerName;
  147.         private System.Windows.Forms.Label label1;
  148.         private System.Windows.Forms.Button consolecolor;
  149.         private System.Windows.Forms.Label consoleColorSample;
  150.         private System.Windows.Forms.GroupBox groupBox2;
  151.         private System.Windows.Forms.ListBox CurrentBind_ListBox;
  152.         private System.Windows.Forms.GroupBox groupBox1;
  153.         private System.Windows.Forms.RadioButton unuseableButton6;
  154.         private System.Windows.Forms.RadioButton unuseableButton5;
  155.         private System.Windows.Forms.RadioButton unuseableButton4;
  156.         private System.Windows.Forms.RadioButton unuseableButton3;
  157.         private System.Windows.Forms.RadioButton unuseableButton2;
  158.         private System.Windows.Forms.RadioButton unuseableButton1;
  159.         private System.Windows.Forms.RadioButton kp_0;
  160.         private System.Windows.Forms.RadioButton kp_dot;
  161.         private System.Windows.Forms.RadioButton kp_rtn;
  162.         private System.Windows.Forms.RadioButton kp_3;
  163.         private System.Windows.Forms.RadioButton kp_2;
  164.         private System.Windows.Forms.RadioButton kp_1;
  165.         private System.Windows.Forms.RadioButton kp_6;
  166.         private System.Windows.Forms.RadioButton kp_5;
  167.         private System.Windows.Forms.RadioButton kp_4;
  168.         private System.Windows.Forms.RadioButton kp_plus;
  169.         private System.Windows.Forms.RadioButton kp_9;
  170.         private System.Windows.Forms.RadioButton kp_8;
  171.         private System.Windows.Forms.RadioButton kp_7;
  172.         private System.Windows.Forms.RadioButton kp_dash;
  173.         private System.Windows.Forms.RadioButton astrisk;
  174.         private System.Windows.Forms.RadioButton kp_forwardslash;
  175.         private System.Windows.Forms.RadioButton pause;
  176.         private System.Windows.Forms.RadioButton rightarrow;
  177.         private System.Windows.Forms.RadioButton leftarrow;
  178.         private System.Windows.Forms.RadioButton downarrow;
  179.         private System.Windows.Forms.RadioButton uparrow;
  180.         private System.Windows.Forms.RadioButton pagedown;
  181.         private System.Windows.Forms.RadioButton end;
  182.         private System.Windows.Forms.RadioButton del;
  183.         private System.Windows.Forms.RadioButton pageup;
  184.         private System.Windows.Forms.RadioButton home;
  185.         private System.Windows.Forms.RadioButton ins;
  186.         private System.Windows.Forms.RadioButton rctrl;
  187.         private System.Windows.Forms.RadioButton ralt;
  188.         private System.Windows.Forms.RadioButton space;
  189.         private System.Windows.Forms.RadioButton lalt;
  190.         private System.Windows.Forms.RadioButton lctrl;
  191.         private System.Windows.Forms.RadioButton rshift;
  192.         private System.Windows.Forms.RadioButton forwardslash;
  193.         private System.Windows.Forms.RadioButton closed_tag;
  194.         private System.Windows.Forms.RadioButton open_tag;
  195.         private System.Windows.Forms.RadioButton mkey;
  196.         private System.Windows.Forms.RadioButton nkey;
  197.         private System.Windows.Forms.RadioButton bkey;
  198.         private System.Windows.Forms.RadioButton vkey;
  199.         private System.Windows.Forms.RadioButton ckey;
  200.         private System.Windows.Forms.RadioButton xkey;
  201.         private System.Windows.Forms.RadioButton zkey;
  202.         private System.Windows.Forms.RadioButton lshift;
  203.         private System.Windows.Forms.RadioButton enter;
  204.         private System.Windows.Forms.RadioButton quotes;
  205.         private System.Windows.Forms.RadioButton semicol;
  206.         private System.Windows.Forms.RadioButton lkey;
  207.         private System.Windows.Forms.RadioButton kkey;
  208.         private System.Windows.Forms.RadioButton jkey;
  209.         private System.Windows.Forms.RadioButton hkey;
  210.         private System.Windows.Forms.RadioButton gkey;
  211.         private System.Windows.Forms.RadioButton fkey;
  212.         private System.Windows.Forms.RadioButton dkey;
  213.         private System.Windows.Forms.RadioButton skey;
  214.         private System.Windows.Forms.RadioButton akey;
  215.         private System.Windows.Forms.RadioButton caps;
  216.         private System.Windows.Forms.RadioButton backslash;
  217.         private System.Windows.Forms.RadioButton closed_square_brace_key;
  218.         private System.Windows.Forms.RadioButton open_square_brace_key;
  219.         private System.Windows.Forms.RadioButton pkey;
  220.         private System.Windows.Forms.RadioButton okey;
  221.         private System.Windows.Forms.RadioButton ikey;
  222.         private System.Windows.Forms.RadioButton ukey;
  223.         private System.Windows.Forms.RadioButton ykey;
  224.         private System.Windows.Forms.RadioButton tkey;
  225.         private System.Windows.Forms.RadioButton rkey;
  226.         private System.Windows.Forms.RadioButton ekey;
  227.         private System.Windows.Forms.RadioButton wkey;
  228.         private System.Windows.Forms.RadioButton qkey;
  229.         private System.Windows.Forms.RadioButton tab;
  230.         private System.Windows.Forms.RadioButton backspace;
  231.         private System.Windows.Forms.RadioButton equals;
  232.         private System.Windows.Forms.RadioButton dash;
  233.         private System.Windows.Forms.RadioButton zero;
  234.         private System.Windows.Forms.RadioButton nine;
  235.         private System.Windows.Forms.RadioButton eight;
  236.         private System.Windows.Forms.RadioButton seven;
  237.         private System.Windows.Forms.RadioButton six;
  238.         private System.Windows.Forms.RadioButton five;
  239.         private System.Windows.Forms.RadioButton four;
  240.         private System.Windows.Forms.RadioButton three;
  241.         private System.Windows.Forms.RadioButton two;
  242.         private System.Windows.Forms.RadioButton one;
  243.         private System.Windows.Forms.RadioButton tilda;
  244.         private System.Windows.Forms.RadioButton f12;
  245.         private System.Windows.Forms.RadioButton f11;
  246.         private System.Windows.Forms.RadioButton f10;
  247.         private System.Windows.Forms.RadioButton f9;
  248.         private System.Windows.Forms.RadioButton f8;
  249.         private System.Windows.Forms.RadioButton f7;
  250.         private System.Windows.Forms.RadioButton f6;
  251.         private System.Windows.Forms.RadioButton f5;
  252.         private System.Windows.Forms.RadioButton f4;
  253.         private System.Windows.Forms.RadioButton f3;
  254.         private System.Windows.Forms.RadioButton f2;
  255.         private System.Windows.Forms.RadioButton f1;
  256.         private System.Windows.Forms.RadioButton esc;
  257.         private System.Windows.Forms.PictureBox pictureBox1;
  258.         private TD.SandBar.SandBarManager sandBarManager1;
  259.         private TD.SandBar.ToolBarContainer leftSandBarDock;
  260.         private TD.SandBar.ToolBarContainer rightSandBarDock;
  261.         private TD.SandBar.ToolBarContainer bottomSandBarDock;
  262.         private TD.SandBar.ToolBarContainer topSandBarDock;
  263.         private TD.SandBar.ToolBar toolBar1;
  264.         private TD.SandBar.MenuBar menuBar1;
  265.         private TD.SandBar.MenuButtonItem old_bindkey_option;
  266.         private TD.SandBar.MenuButtonItem old_uncheckbuttons_option;
  267.         private TD.SandBar.MenuButtonItem old_DeleteBind_option;
  268.         private TD.SandBar.MenuButtonItem old_SaveExit_option;
  269.         private TD.SandBar.MenuButtonItem old_AddSelectedBinds_option;
  270.         private TD.SandBar.MenuButtonItem old_ClearAllBinds_option;
  271.         private TD.SandBar.MenuButtonItem old_menuItem1;
  272.         private TD.SandBar.MenuButtonItem old_menuItem2;
  273.         private TD.SandBar.MenuBarItem file_menuItem;
  274.         private TD.SandBar.MenuButtonItem save_menuItem;
  275.         private TD.SandBar.MenuButtonItem open_menuItem;
  276.         private TD.SandBar.MenuButtonItem exit_menuItem;
  277.         private TD.SandBar.MenuBarItem edit_menuItem;
  278.         private TD.SandBar.MenuButtonItem showTips_menuItem;
  279.         private TD.SandBar.MenuBarItem help_menuItem;
  280.         private TD.SandBar.MenuButtonItem getHelp_menuItem;
  281.         private TD.SandBar.MenuButtonItem about_menuItem;
  282.         private TD.SandBar.ButtonItem AddBind_button1;
  283.         private TD.SandBar.ButtonItem DeleteBind;
  284.         private TD.SandBar.ButtonItem NewButton;
  285.         private TD.SandBar.ButtonItem OpenButton;
  286.         private TD.SandBar.ButtonItem SaveButton;
  287.         private TD.SandBar.ButtonItem AboutButton;
  288.         private System.Windows.Forms.ContextMenu contextMenu1;
  289.         private TD.SandBar.MenuBarItem KeyboardLayout_ContextMenu;
  290.         private TD.SandBar.MenuBarItem CurrentBind_ContextMenu;
  291.         private TD.SandBar.MenuBarItem BindOptions_ContextMenu;
  292.         private TD.SandBar.MenuBarItem help_ContextMenu;
  293.         private System.Windows.Forms.TextBox say_teamsay_textBox;
  294.         private TD.SandBar.FlatComboBox say_teamsay_combobox;
  295.         private System.Windows.Forms.TextBox CustomBind;
  296.         private System.Windows.Forms.Label label2;
  297.         private TD.SandBar.ComboBoxItem radioCommand_comboBoxItem;
  298.         private TD.SandBar.MenuButtonItem Edit_files_menuItem;
  299.         private TD.SandBar.MenuButtonItem config_menuItem;
  300.         private TD.SandBar.MenuButtonItem autoexec_menuItem;
  301.         private TD.SandBar.MenuButtonItem czbind_menuItem;
  302.         private TD.SandBar.MenuButtonItem userConfig_menuItem;
  303.         private TD.SandBar.MenuButtonItem give_menuItem;
  304.         private TD.SandBar.MenuButtonItem feedback_menuItem;
  305.         private TD.SandBar.MenuButtonItem menuButtonItem1;
  306.         private System.ComponentModel.IContainer components;
  307.  
  308.         /// <summary>
  309.         /// Required designer variable.
  310.         /// </summary>
  311.         #endregion
  312.         /// <summary>
  313.         /// Default constructor for CZ Bind Maker Application
  314.         /// </summary>
  315.         public CZBindMakerMainForm()
  316.         {
  317.             #region
  318.             // THIS STRING IS USED TO DISPLAY THE MAJOR, MINOR AND BUILD NUMBER VERSION INFORMATION IN THE VARIOUS FORMS
  319.             applicationVersion = Assembly.GetExecutingAssembly().GetName().Version.Major.ToString()+"."+
  320.                 Assembly.GetExecutingAssembly().GetName().Version.Minor.ToString()+"."+
  321.                 Assembly.GetExecutingAssembly().GetName().Version.Build.ToString();
  322.  
  323.             Application.DoEvents();
  324.  
  325.             // CREATE A SPLASH SCREEN
  326.             CZSplash s = new CZSplash();
  327.             s.Show();
  328.  
  329.  
  330.             // INITIALIZE FORM
  331.             s.Action = "Initializing Components";
  332.             this.InitializeComponent();
  333.             
  334.             TD.SandBar.Office2003Renderer czbmRend = new TD.SandBar.Office2003Renderer();
  335.             czbmRend.EnableTheming = true;
  336.             this.sandBarManager1.SetActiveRenderer(czbmRend);
  337.  
  338.             this.say_teamsay_combobox.SelectedIndex = 0;
  339.  
  340.             // READ IN USER PREFERENCES
  341.             #region DONE
  342.             try
  343.             {
  344.                 this.UserPreferencesSettingContainer.Read();
  345.             }
  346.             catch(Exception e)
  347.             {
  348.                 e.ToString();
  349.             }
  350.             #endregion
  351.  
  352.             // CHECK THE PROGRAM VERSION AND UPDATE IT IF NECESSARY
  353.             s.Action = ""; // just for consistency purposes until we get the version control stuff done.
  354. #if CHECK_VERSION    
  355.             s.Action = "Checking For Updates";
  356.             this.CheckVersion();
  357. #endif
  358.  
  359.             // LOAD THE PATHS TO THE CONFIG FILES
  360.             s.Action = "Loading Data";
  361.             this.InitializeData();
  362.             this.Text = "   CZ Bind Maker For Counter-Strike 1.6                 Version "+applicationVersion;
  363.             s.Dispose();
  364.             s = null;
  365.             #endregion
  366.         }
  367.         /// <summary>
  368.         /// Clean up any resources being used.
  369.         /// </summary>
  370.         protected override void Dispose( bool disposing )
  371.         {
  372.             #region
  373.             if( disposing )
  374.             {
  375.                 if (components != null) 
  376.                 {
  377.                     components.Dispose();
  378.                 }
  379.             }
  380.             if(this.CZBindToolTip.Active == false)
  381.                 this.ToolTipsEnabled.CurrentValue = "false";
  382.             this.UserPreferencesSettingContainer.Write();
  383.             this.m_rKey.Close();
  384.             base.Dispose( disposing );
  385.             #endregion
  386.         }
  387.  
  388.         #region Windows Form Designer generated code
  389.         /// <summary>
  390.         /// Required method for Designer support - do not modify
  391.         /// the contents of this method with the code editor.
  392.         /// </summary>
  393.         private void InitializeComponent()
  394.         {
  395.             this.components = new System.ComponentModel.Container();
  396.             System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(CZBindMakerMainForm));
  397.             this.ConfigFileFinder = new System.Windows.Forms.OpenFileDialog();
  398.             this.ConsoleColorPicker = new System.Windows.Forms.ColorDialog();
  399.             this.KeyBoardImageList = new System.Windows.Forms.ImageList(this.components);
  400.             this.weaponImageList = new System.Windows.Forms.ImageList(this.components);
  401.             this.UserPreferencesSettingContainer = new PrivateSettings.SettingContainer(this.components);
  402.             this.ToolTipsEnabled = new PrivateSettings.Setting(this.components);
  403.             this.ConfigFilePath = new PrivateSettings.Setting(this.components);
  404.             this.BindFilePath = new PrivateSettings.Setting(this.components);
  405.             this.UserConfigPath = new PrivateSettings.Setting(this.components);
  406.             this.ToggleAutoUpdate = new PrivateSettings.Setting(this.components);
  407.             this.CZBindToolTip = new System.Windows.Forms.ToolTip(this.components);
  408.             this.rate = new System.Windows.Forms.NumericUpDown();
  409.             this.label14 = new System.Windows.Forms.Label();
  410.             this.cl_righthand = new System.Windows.Forms.CheckBox();
  411.             this._cl_autoweaponswitch = new System.Windows.Forms.CheckBox();
  412.             this._vgui_menus = new System.Windows.Forms.CheckBox();
  413.             this.net_grappos_2 = new System.Windows.Forms.RadioButton();
  414.             this.net_grappos_1 = new System.Windows.Forms.RadioButton();
  415.             this.net_grappos_3 = new System.Windows.Forms.RadioButton();
  416.             this.Fps_Range = new System.Windows.Forms.NumericUpDown();
  417.             this.cl_weather = new System.Windows.Forms.CheckBox();
  418.             this.hud_fastswitch = new System.Windows.Forms.CheckBox();
  419.             this.hud_centerID = new System.Windows.Forms.CheckBox();
  420.             this.net_graph_0 = new System.Windows.Forms.RadioButton();
  421.             this.net_graph_3 = new System.Windows.Forms.RadioButton();
  422.             this.net_graph_2 = new System.Windows.Forms.RadioButton();
  423.             this.net_graph_1 = new System.Windows.Forms.RadioButton();
  424.             this.DynamicCrossHairs = new System.Windows.Forms.CheckBox();
  425.             this.label4 = new System.Windows.Forms.Label();
  426.             this.PlayerName = new System.Windows.Forms.TextBox();
  427.             this.label1 = new System.Windows.Forms.Label();
  428.             this.consolecolor = new System.Windows.Forms.Button();
  429.             this.consoleColorSample = new System.Windows.Forms.Label();
  430.             this.CurrentBind_ListBox = new System.Windows.Forms.ListBox();
  431.             this.groupBox1 = new System.Windows.Forms.GroupBox();
  432.             this.unuseableButton6 = new System.Windows.Forms.RadioButton();
  433.             this.unuseableButton5 = new System.Windows.Forms.RadioButton();
  434.             this.unuseableButton4 = new System.Windows.Forms.RadioButton();
  435.             this.unuseableButton3 = new System.Windows.Forms.RadioButton();
  436.             this.unuseableButton2 = new System.Windows.Forms.RadioButton();
  437.             this.unuseableButton1 = new System.Windows.Forms.RadioButton();
  438.             this.kp_0 = new System.Windows.Forms.RadioButton();
  439.             this.kp_dot = new System.Windows.Forms.RadioButton();
  440.             this.kp_rtn = new System.Windows.Forms.RadioButton();
  441.             this.kp_3 = new System.Windows.Forms.RadioButton();
  442.             this.kp_2 = new System.Windows.Forms.RadioButton();
  443.             this.kp_1 = new System.Windows.Forms.RadioButton();
  444.             this.kp_6 = new System.Windows.Forms.RadioButton();
  445.             this.kp_5 = new System.Windows.Forms.RadioButton();
  446.             this.kp_4 = new System.Windows.Forms.RadioButton();
  447.             this.kp_plus = new System.Windows.Forms.RadioButton();
  448.             this.kp_9 = new System.Windows.Forms.RadioButton();
  449.             this.kp_8 = new System.Windows.Forms.RadioButton();
  450.             this.kp_7 = new System.Windows.Forms.RadioButton();
  451.             this.kp_dash = new System.Windows.Forms.RadioButton();
  452.             this.astrisk = new System.Windows.Forms.RadioButton();
  453.             this.kp_forwardslash = new System.Windows.Forms.RadioButton();
  454.             this.pause = new System.Windows.Forms.RadioButton();
  455.             this.rightarrow = new System.Windows.Forms.RadioButton();
  456.             this.leftarrow = new System.Windows.Forms.RadioButton();
  457.             this.downarrow = new System.Windows.Forms.RadioButton();
  458.             this.uparrow = new System.Windows.Forms.RadioButton();
  459.             this.pagedown = new System.Windows.Forms.RadioButton();
  460.             this.end = new System.Windows.Forms.RadioButton();
  461.             this.del = new System.Windows.Forms.RadioButton();
  462.             this.pageup = new System.Windows.Forms.RadioButton();
  463.             this.home = new System.Windows.Forms.RadioButton();
  464.             this.ins = new System.Windows.Forms.RadioButton();
  465.             this.rctrl = new System.Windows.Forms.RadioButton();
  466.             this.ralt = new System.Windows.Forms.RadioButton();
  467.             this.space = new System.Windows.Forms.RadioButton();
  468.             this.lalt = new System.Windows.Forms.RadioButton();
  469.             this.lctrl = new System.Windows.Forms.RadioButton();
  470.             this.rshift = new System.Windows.Forms.RadioButton();
  471.             this.forwardslash = new System.Windows.Forms.RadioButton();
  472.             this.closed_tag = new System.Windows.Forms.RadioButton();
  473.             this.open_tag = new System.Windows.Forms.RadioButton();
  474.             this.mkey = new System.Windows.Forms.RadioButton();
  475.             this.nkey = new System.Windows.Forms.RadioButton();
  476.             this.bkey = new System.Windows.Forms.RadioButton();
  477.             this.vkey = new System.Windows.Forms.RadioButton();
  478.             this.ckey = new System.Windows.Forms.RadioButton();
  479.             this.xkey = new System.Windows.Forms.RadioButton();
  480.             this.zkey = new System.Windows.Forms.RadioButton();
  481.             this.lshift = new System.Windows.Forms.RadioButton();
  482.             this.enter = new System.Windows.Forms.RadioButton();
  483.             this.quotes = new System.Windows.Forms.RadioButton();
  484.             this.semicol = new System.Windows.Forms.RadioButton();
  485.             this.lkey = new System.Windows.Forms.RadioButton();
  486.             this.kkey = new System.Windows.Forms.RadioButton();
  487.             this.jkey = new System.Windows.Forms.RadioButton();
  488.             this.hkey = new System.Windows.Forms.RadioButton();
  489.             this.gkey = new System.Windows.Forms.RadioButton();
  490.             this.fkey = new System.Windows.Forms.RadioButton();
  491.             this.dkey = new System.Windows.Forms.RadioButton();
  492.             this.skey = new System.Windows.Forms.RadioButton();
  493.             this.akey = new System.Windows.Forms.RadioButton();
  494.             this.caps = new System.Windows.Forms.RadioButton();
  495.             this.backslash = new System.Windows.Forms.RadioButton();
  496.             this.closed_square_brace_key = new System.Windows.Forms.RadioButton();
  497.             this.open_square_brace_key = new System.Windows.Forms.RadioButton();
  498.             this.pkey = new System.Windows.Forms.RadioButton();
  499.             this.okey = new System.Windows.Forms.RadioButton();
  500.             this.ikey = new System.Windows.Forms.RadioButton();
  501.             this.ukey = new System.Windows.Forms.RadioButton();
  502.             this.ykey = new System.Windows.Forms.RadioButton();
  503.             this.tkey = new System.Windows.Forms.RadioButton();
  504.             this.rkey = new System.Windows.Forms.RadioButton();
  505.             this.ekey = new System.Windows.Forms.RadioButton();
  506.             this.wkey = new System.Windows.Forms.RadioButton();
  507.             this.qkey = new System.Windows.Forms.RadioButton();
  508.             this.tab = new System.Windows.Forms.RadioButton();
  509.             this.backspace = new System.Windows.Forms.RadioButton();
  510.             this.equals = new System.Windows.Forms.RadioButton();
  511.             this.dash = new System.Windows.Forms.RadioButton();
  512.             this.zero = new System.Windows.Forms.RadioButton();
  513.             this.nine = new System.Windows.Forms.RadioButton();
  514.             this.eight = new System.Windows.Forms.RadioButton();
  515.             this.seven = new System.Windows.Forms.RadioButton();
  516.             this.six = new System.Windows.Forms.RadioButton();
  517.             this.five = new System.Windows.Forms.RadioButton();
  518.             this.four = new System.Windows.Forms.RadioButton();
  519.             this.three = new System.Windows.Forms.RadioButton();
  520.             this.two = new System.Windows.Forms.RadioButton();
  521.             this.one = new System.Windows.Forms.RadioButton();
  522.             this.tilda = new System.Windows.Forms.RadioButton();
  523.             this.f12 = new System.Windows.Forms.RadioButton();
  524.             this.f11 = new System.Windows.Forms.RadioButton();
  525.             this.f10 = new System.Windows.Forms.RadioButton();
  526.             this.f9 = new System.Windows.Forms.RadioButton();
  527.             this.f8 = new System.Windows.Forms.RadioButton();
  528.             this.f7 = new System.Windows.Forms.RadioButton();
  529.             this.f6 = new System.Windows.Forms.RadioButton();
  530.             this.f5 = new System.Windows.Forms.RadioButton();
  531.             this.f4 = new System.Windows.Forms.RadioButton();
  532.             this.f3 = new System.Windows.Forms.RadioButton();
  533.             this.f2 = new System.Windows.Forms.RadioButton();
  534.             this.f1 = new System.Windows.Forms.RadioButton();
  535.             this.esc = new System.Windows.Forms.RadioButton();
  536.             this.pictureBox1 = new System.Windows.Forms.PictureBox();
  537.             this.binds_tabPage = new System.Windows.Forms.TabPage();
  538.             this.BindOptions_ListBox = new System.Windows.Forms.CheckedListBox();
  539.             this.config_tabPage = new System.Windows.Forms.TabPage();
  540.             this.groupBox3 = new System.Windows.Forms.GroupBox();
  541.             this.net_graph_GroupBox = new System.Windows.Forms.GroupBox();
  542.             this.say_teamsay_textBox = new System.Windows.Forms.TextBox();
  543.             this.say_teamsay_combobox = new TD.SandBar.FlatComboBox();
  544.             this.CustomBind = new System.Windows.Forms.TextBox();
  545.             this.label2 = new System.Windows.Forms.Label();
  546.             this.ContextMenuImageList = new System.Windows.Forms.ImageList(this.components);
  547.             this.MainMenuimageList = new System.Windows.Forms.ImageList(this.components);
  548.             this.panel1 = new System.Windows.Forms.Panel();
  549.             this.main_tabControl = new System.Windows.Forms.TabControl();
  550.             this.groupBox2 = new System.Windows.Forms.GroupBox();
  551.             this.sandBarManager1 = new TD.SandBar.SandBarManager();
  552.             this.bottomSandBarDock = new TD.SandBar.ToolBarContainer();
  553.             this.leftSandBarDock = new TD.SandBar.ToolBarContainer();
  554.             this.rightSandBarDock = new TD.SandBar.ToolBarContainer();
  555.             this.topSandBarDock = new TD.SandBar.ToolBarContainer();
  556.             this.menuBar1 = new TD.SandBar.MenuBar();
  557.             this.CurrentBind_ContextMenu = new TD.SandBar.MenuBarItem();
  558.             this.old_DeleteBind_option = new TD.SandBar.MenuButtonItem();
  559.             this.old_SaveExit_option = new TD.SandBar.MenuButtonItem();
  560.             this.KeyboardLayout_ContextMenu = new TD.SandBar.MenuBarItem();
  561.             this.old_bindkey_option = new TD.SandBar.MenuButtonItem();
  562.             this.old_uncheckbuttons_option = new TD.SandBar.MenuButtonItem();
  563.             this.BindOptions_ContextMenu = new TD.SandBar.MenuBarItem();
  564.             this.old_AddSelectedBinds_option = new TD.SandBar.MenuButtonItem();
  565.             this.old_ClearAllBinds_option = new TD.SandBar.MenuButtonItem();
  566.             this.file_menuItem = new TD.SandBar.MenuBarItem();
  567.             this.save_menuItem = new TD.SandBar.MenuButtonItem();
  568.             this.open_menuItem = new TD.SandBar.MenuButtonItem();
  569.             this.exit_menuItem = new TD.SandBar.MenuButtonItem();
  570.             this.edit_menuItem = new TD.SandBar.MenuBarItem();
  571.             this.Edit_files_menuItem = new TD.SandBar.MenuButtonItem();
  572.             this.config_menuItem = new TD.SandBar.MenuButtonItem();
  573.             this.autoexec_menuItem = new TD.SandBar.MenuButtonItem();
  574.             this.userConfig_menuItem = new TD.SandBar.MenuButtonItem();
  575.             this.czbind_menuItem = new TD.SandBar.MenuButtonItem();
  576.             this.give_menuItem = new TD.SandBar.MenuButtonItem();
  577.             this.feedback_menuItem = new TD.SandBar.MenuButtonItem();
  578.             this.menuButtonItem1 = new TD.SandBar.MenuButtonItem();
  579.             this.showTips_menuItem = new TD.SandBar.MenuButtonItem();
  580.             this.help_menuItem = new TD.SandBar.MenuBarItem();
  581.             this.getHelp_menuItem = new TD.SandBar.MenuButtonItem();
  582.             this.about_menuItem = new TD.SandBar.MenuButtonItem();
  583.             this.help_ContextMenu = new TD.SandBar.MenuBarItem();
  584.             this.old_menuItem1 = new TD.SandBar.MenuButtonItem();
  585.             this.old_menuItem2 = new TD.SandBar.MenuButtonItem();
  586.             this.toolBar1 = new TD.SandBar.ToolBar();
  587.             this.NewButton = new TD.SandBar.ButtonItem();
  588.             this.OpenButton = new TD.SandBar.ButtonItem();
  589.             this.AboutButton = new TD.SandBar.ButtonItem();
  590.             this.DeleteBind = new TD.SandBar.ButtonItem();
  591.             this.AddBind_button1 = new TD.SandBar.ButtonItem();
  592.             this.SaveButton = new TD.SandBar.ButtonItem();
  593.             this.radioCommand_comboBoxItem = new TD.SandBar.ComboBoxItem();
  594.             this.contextMenu1 = new System.Windows.Forms.ContextMenu();
  595.             ((System.ComponentModel.ISupportInitialize)(this.rate)).BeginInit();
  596.             ((System.ComponentModel.ISupportInitialize)(this.Fps_Range)).BeginInit();
  597.             this.groupBox1.SuspendLayout();
  598.             this.binds_tabPage.SuspendLayout();
  599.             this.config_tabPage.SuspendLayout();
  600.             this.groupBox3.SuspendLayout();
  601.             this.net_graph_GroupBox.SuspendLayout();
  602.             this.panel1.SuspendLayout();
  603.             this.main_tabControl.SuspendLayout();
  604.             this.groupBox2.SuspendLayout();
  605.             this.topSandBarDock.SuspendLayout();
  606.             this.SuspendLayout();
  607.             // 
  608.             // ConfigFileFinder
  609.             // 
  610.             this.ConfigFileFinder.FileName = "config.cfg";
  611.             this.ConfigFileFinder.Filter = "Config files | *.cfg";
  612.             this.ConfigFileFinder.Title = " Locate Your Counter-Strike 1.6 Config.cfg File";
  613.             // 
  614.             // ConsoleColorPicker
  615.             // 
  616.             this.ConsoleColorPicker.AnyColor = true;
  617.             this.ConsoleColorPicker.FullOpen = true;
  618.             this.ConsoleColorPicker.ShowHelp = true;
  619.             // 
  620.             // KeyBoardImageList
  621.             // 
  622.             this.KeyBoardImageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit;
  623.             this.KeyBoardImageList.ImageSize = new System.Drawing.Size(16, 16);
  624.             this.KeyBoardImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("KeyBoardImageList.ImageStream")));
  625.             this.KeyBoardImageList.TransparentColor = System.Drawing.Color.Transparent;
  626.             // 
  627.             // weaponImageList
  628.             // 
  629.             this.weaponImageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit;
  630.             this.weaponImageList.ImageSize = new System.Drawing.Size(16, 16);
  631.             this.weaponImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("weaponImageList.ImageStream")));
  632.             this.weaponImageList.TransparentColor = System.Drawing.Color.Transparent;
  633.             // 
  634.             // UserPreferencesSettingContainer
  635.             // 
  636.             this.UserPreferencesSettingContainer.EncryptedStorage = true;
  637.             this.UserPreferencesSettingContainer.FileName = "settings.xml";
  638.             this.UserPreferencesSettingContainer.IsolatedStorage = true;
  639.             // 
  640.             // ToolTipsEnabled
  641.             // 
  642.             this.ToolTipsEnabled.CurrentValue = "";
  643.             this.ToolTipsEnabled.DefaultValue = "";
  644.             this.ToolTipsEnabled.StorageKey = "";
  645.             // 
  646.             // ConfigFilePath
  647.             // 
  648.             this.ConfigFilePath.CurrentValue = "";
  649.             this.ConfigFilePath.DefaultValue = "";
  650.             this.ConfigFilePath.StorageKey = "";
  651.             // 
  652.             // BindFilePath
  653.             // 
  654.             this.BindFilePath.CurrentValue = "";
  655.             this.BindFilePath.DefaultValue = "";
  656.             this.BindFilePath.StorageKey = "";
  657.             // 
  658.             // UserConfigPath
  659.             // 
  660.             this.UserConfigPath.CurrentValue = "";
  661.             this.UserConfigPath.DefaultValue = "";
  662.             this.UserConfigPath.StorageKey = "";
  663.             // 
  664.             // ToggleAutoUpdate
  665.             // 
  666.             this.ToggleAutoUpdate.CurrentValue = "";
  667.             this.ToggleAutoUpdate.DefaultValue = "";
  668.             this.ToggleAutoUpdate.StorageKey = "";
  669.             // 
  670.             // rate
  671.             // 
  672.             this.rate.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  673.             this.rate.Location = new System.Drawing.Point(328, 208);
  674.             this.rate.Maximum = new System.Decimal(new int[] {
  675.                                                                  9999,
  676.                                                                  0,
  677.                                                                  0,
  678.                                                                  0});
  679.             this.rate.Minimum = new System.Decimal(new int[] {
  680.                                                                  1500,
  681.                                                                  0,
  682.                                                                  0,
  683.                                                                  0});
  684.             this.rate.Name = "rate";
  685.             this.rate.Size = new System.Drawing.Size(56, 20);
  686.             this.rate.TabIndex = 63;
  687.             this.CZBindToolTip.SetToolTip(this.rate, "Sets the rate at which you send and recieve information to and from the server");
  688.             this.rate.Value = new System.Decimal(new int[] {
  689.                                                                2500,
  690.                                                                0,
  691.                                                                0,
  692.                                                                0});
  693.             // 
  694.             // label14
  695.             // 
  696.             this.label14.Location = new System.Drawing.Point(296, 208);
  697.             this.label14.Name = "label14";
  698.             this.label14.Size = new System.Drawing.Size(32, 16);
  699.             this.label14.TabIndex = 62;
  700.             this.label14.Text = "Rate";
  701.             this.CZBindToolTip.SetToolTip(this.label14, "Sets the rate at which you send and recieve information to and from the server");
  702.             // 
  703.             // cl_righthand
  704.             // 
  705.             this.cl_righthand.Checked = true;
  706.             this.cl_righthand.CheckState = System.Windows.Forms.CheckState.Checked;
  707.             this.cl_righthand.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  708.             this.cl_righthand.Location = new System.Drawing.Point(16, 232);
  709.             this.cl_righthand.Name = "cl_righthand";
  710.             this.cl_righthand.Size = new System.Drawing.Size(160, 16);
  711.             this.cl_righthand.TabIndex = 61;
  712.             this.cl_righthand.Text = "Right Handed Player Model";
  713.             this.CZBindToolTip.SetToolTip(this.cl_righthand, "Uncheck to use a left handed model");
  714.             // 
  715.             // _cl_autoweaponswitch
  716.             // 
  717.             this._cl_autoweaponswitch.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  718.             this._cl_autoweaponswitch.Location = new System.Drawing.Point(16, 200);
  719.             this._cl_autoweaponswitch.Name = "_cl_autoweaponswitch";
  720.             this._cl_autoweaponswitch.Size = new System.Drawing.Size(152, 16);
  721.             this._cl_autoweaponswitch.TabIndex = 60;
  722.             this._cl_autoweaponswitch.Text = "Use Auto-Weapon Switch";
  723.             this.CZBindToolTip.SetToolTip(this._cl_autoweaponswitch, "This will automatically switch to weapons that you pick up \nwhich are greater tha" +
  724.                 "n weapons you currently have");
  725.             // 
  726.             // _vgui_menus
  727.             // 
  728.             this._vgui_menus.Checked = true;
  729.             this._vgui_menus.CheckState = System.Windows.Forms.CheckState.Checked;
  730.             this._vgui_menus.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  731.             this._vgui_menus.Location = new System.Drawing.Point(16, 216);
  732.             this._vgui_menus.Name = "_vgui_menus";
  733.             this._vgui_menus.Size = new System.Drawing.Size(72, 16);
  734.             this._vgui_menus.TabIndex = 59;
  735.             this._vgui_menus.Text = "Use vGui";
  736.             this.CZBindToolTip.SetToolTip(this._vgui_menus, "Uncheck to use old text menus");
  737.             // 
  738.             // net_grappos_2
  739.             // 
  740.             this.net_grappos_2.Appearance = System.Windows.Forms.Appearance.Button;
  741.             this.net_grappos_2.FlatStyle = System.Windows.Forms.FlatStyle.System;
  742.             this.net_grappos_2.Location = new System.Drawing.Point(74, 16);
  743.             this.net_grappos_2.Name = "net_grappos_2";
  744.             this.net_grappos_2.Size = new System.Drawing.Size(44, 16);
  745.             this.net_grappos_2.TabIndex = 2;
  746.             this.net_grappos_2.Text = "Middle";
  747.             this.net_grappos_2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  748.             this.CZBindToolTip.SetToolTip(this.net_grappos_2, "The Net Graph will be positioned at the bottom middle of the screen");
  749.             // 
  750.             // net_grappos_1
  751.             // 
  752.             this.net_grappos_1.Appearance = System.Windows.Forms.Appearance.Button;
  753.             this.net_grappos_1.Checked = true;
  754.             this.net_grappos_1.FlatStyle = System.Windows.Forms.FlatStyle.System;
  755.             this.net_grappos_1.Location = new System.Drawing.Point(128, 16);
  756.             this.net_grappos_1.Name = "net_grappos_1";
  757.             this.net_grappos_1.Size = new System.Drawing.Size(48, 16);
  758.             this.net_grappos_1.TabIndex = 1;
  759.             this.net_grappos_1.TabStop = true;
  760.             this.net_grappos_1.Text = "Right";
  761.             this.net_grappos_1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  762.             this.CZBindToolTip.SetToolTip(this.net_grappos_1, "The Net Graph will be positioned at the bottom right hand corner of the screen");
  763.             // 
  764.             // net_grappos_3
  765.             // 
  766.             this.net_grappos_3.Appearance = System.Windows.Forms.Appearance.Button;
  767.             this.net_grappos_3.FlatStyle = System.Windows.Forms.FlatStyle.System;
  768.             this.net_grappos_3.Location = new System.Drawing.Point(16, 16);
  769.             this.net_grappos_3.Name = "net_grappos_3";
  770.             this.net_grappos_3.Size = new System.Drawing.Size(48, 16);
  771.             this.net_grappos_3.TabIndex = 0;
  772.             this.net_grappos_3.Text = "Left";
  773.             this.net_grappos_3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  774.             this.CZBindToolTip.SetToolTip(this.net_grappos_3, "The Net Graph will be positioned at the bottom left hand corner of the screen");
  775.             // 
  776.             // Fps_Range
  777.             // 
  778.             this.Fps_Range.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  779.             this.Fps_Range.Location = new System.Drawing.Point(328, 184);
  780.             this.Fps_Range.Maximum = new System.Decimal(new int[] {
  781.                                                                       255,
  782.                                                                       0,
  783.                                                                       0,
  784.                                                                       0});
  785.             this.Fps_Range.Minimum = new System.Decimal(new int[] {
  786.                                                                       1,
  787.                                                                       0,
  788.                                                                       0,
  789.                                                                       0});
  790.             this.Fps_Range.Name = "Fps_Range";
  791.             this.Fps_Range.RightToLeft = System.Windows.Forms.RightToLeft.No;
  792.             this.Fps_Range.Size = new System.Drawing.Size(56, 20);
  793.             this.Fps_Range.TabIndex = 52;
  794.             this.CZBindToolTip.SetToolTip(this.Fps_Range, "Sets the maximum viewable frames per second");
  795.             this.Fps_Range.Value = new System.Decimal(new int[] {
  796.                                                                     100,
  797.                                                                     0,
  798.                                                                     0,
  799.                                                                     0});
  800.             // 
  801.             // cl_weather
  802.             // 
  803.             this.cl_weather.Checked = true;
  804.             this.cl_weather.CheckState = System.Windows.Forms.CheckState.Checked;
  805.             this.cl_weather.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  806.             this.cl_weather.Location = new System.Drawing.Point(16, 136);
  807.             this.cl_weather.Name = "cl_weather";
  808.             this.cl_weather.Size = new System.Drawing.Size(152, 16);
  809.             this.cl_weather.TabIndex = 57;
  810.             this.cl_weather.Text = "Show the Maps\' Weather";
  811.             this.CZBindToolTip.SetToolTip(this.cl_weather, "This Allows you to toggle the current maps weather conditions on or off\nEX: de_az" +
  812.                 "tec\'s fog and rain");
  813.             // 
  814.             // hud_fastswitch
  815.             // 
  816.             this.hud_fastswitch.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  817.             this.hud_fastswitch.Location = new System.Drawing.Point(16, 168);
  818.             this.hud_fastswitch.Name = "hud_fastswitch";
  819.             this.hud_fastswitch.Size = new System.Drawing.Size(136, 16);
  820.             this.hud_fastswitch.TabIndex = 56;
  821.             this.hud_fastswitch.Text = "Use Fast Switch";
  822.             this.CZBindToolTip.SetToolTip(this.hud_fastswitch, "Scrolling through inventory causes the item to be selected");
  823.             // 
  824.             // hud_centerID
  825.             // 
  826.             this.hud_centerID.Checked = true;
  827.             this.hud_centerID.CheckState = System.Windows.Forms.CheckState.Checked;
  828.             this.hud_centerID.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  829.             this.hud_centerID.Location = new System.Drawing.Point(16, 184);
  830.             this.hud_centerID.Name = "hud_centerID";
  831.             this.hud_centerID.Size = new System.Drawing.Size(184, 16);
  832.             this.hud_centerID.TabIndex = 55;
  833.             this.hud_centerID.Text = "Center Player Names on Screen";
  834.             this.CZBindToolTip.SetToolTip(this.hud_centerID, "puts the players name near crosshairs if selected\nOtherwise it will be located at" +
  835.                 " the bottom of the screen");
  836.             // 
  837.             // net_graph_0
  838.             // 
  839.             this.net_graph_0.Checked = true;
  840.             this.net_graph_0.Image = ((System.Drawing.Image)(resources.GetObject("net_graph_0.Image")));
  841.             this.net_graph_0.Location = new System.Drawing.Point(10, 16);
  842.             this.net_graph_0.Name = "net_graph_0";
  843.             this.net_graph_0.Size = new System.Drawing.Size(37, 48);
  844.             this.net_graph_0.TabIndex = 3;
  845.             this.net_graph_0.TabStop = true;
  846.             this.net_graph_0.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  847.             this.CZBindToolTip.SetToolTip(this.net_graph_0, "Select No Net Graph");
  848.             // 
  849.             // net_graph_3
  850.             // 
  851.             this.net_graph_3.BackColor = System.Drawing.SystemColors.Control;
  852.             this.net_graph_3.Image = ((System.Drawing.Image)(resources.GetObject("net_graph_3.Image")));
  853.             this.net_graph_3.Location = new System.Drawing.Point(271, 16);
  854.             this.net_graph_3.Name = "net_graph_3";
  855.             this.net_graph_3.Size = new System.Drawing.Size(87, 48);
  856.             this.net_graph_3.TabIndex = 2;
  857.             this.CZBindToolTip.SetToolTip(this.net_graph_3, "The Net Graph will look like this");
  858.             // 
  859.             // net_graph_2
  860.             // 
  861.             this.net_graph_2.BackColor = System.Drawing.SystemColors.Control;
  862.             this.net_graph_2.Image = ((System.Drawing.Image)(resources.GetObject("net_graph_2.Image")));
  863.             this.net_graph_2.Location = new System.Drawing.Point(170, 16);
  864.             this.net_graph_2.Name = "net_graph_2";
  865.             this.net_graph_2.Size = new System.Drawing.Size(85, 48);
  866.             this.net_graph_2.TabIndex = 1;
  867.             this.CZBindToolTip.SetToolTip(this.net_graph_2, "The Net Graph will look like this");
  868.             // 
  869.             // net_graph_1
  870.             // 
  871.             this.net_graph_1.BackColor = System.Drawing.SystemColors.Control;
  872.             this.net_graph_1.Image = ((System.Drawing.Image)(resources.GetObject("net_graph_1.Image")));
  873.             this.net_graph_1.Location = new System.Drawing.Point(63, 16);
  874.             this.net_graph_1.Name = "net_graph_1";
  875.             this.net_graph_1.Size = new System.Drawing.Size(91, 48);
  876.             this.net_graph_1.TabIndex = 0;
  877.             this.CZBindToolTip.SetToolTip(this.net_graph_1, "The Net Graph will look like this");
  878.             // 
  879.             // DynamicCrossHairs
  880.             // 
  881.             this.DynamicCrossHairs.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  882.             this.DynamicCrossHairs.Location = new System.Drawing.Point(16, 152);
  883.             this.DynamicCrossHairs.Name = "DynamicCrossHairs";
  884.             this.DynamicCrossHairs.Size = new System.Drawing.Size(152, 16);
  885.             this.DynamicCrossHairs.TabIndex = 53;
  886.             this.DynamicCrossHairs.Text = "Use Dynamic Cross Hair";
  887.             this.CZBindToolTip.SetToolTip(this.DynamicCrossHairs, "Toggles the use of a dynamic crosshair.\n(crosshair will shrink/expand when runnin" +
  888.                 "g if enabled)");
  889.             // 
  890.             // label4
  891.             // 
  892.             this.label4.Location = new System.Drawing.Point(200, 184);
  893.             this.label4.Name = "label4";
  894.             this.label4.Size = new System.Drawing.Size(136, 16);
  895.             this.label4.TabIndex = 51;
  896.             this.label4.Text = "Frames Per Second Max";
  897.             this.CZBindToolTip.SetToolTip(this.label4, "Sets the maximum viewable frames per second");
  898.             // 
  899.             // PlayerName
  900.             // 
  901.             this.PlayerName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  902.             this.PlayerName.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World);
  903.             this.PlayerName.Location = new System.Drawing.Point(80, 8);
  904.             this.PlayerName.Name = "PlayerName";
  905.             this.PlayerName.Size = new System.Drawing.Size(304, 21);
  906.             this.PlayerName.TabIndex = 50;
  907.             this.PlayerName.Text = "";
  908.             this.CZBindToolTip.SetToolTip(this.PlayerName, "Set Your User/Player Name");
  909.             // 
  910.             // label1
  911.             // 
  912.             this.label1.Location = new System.Drawing.Point(16, 8);
  913.             this.label1.Name = "label1";
  914.             this.label1.Size = new System.Drawing.Size(64, 16);
  915.             this.label1.TabIndex = 49;
  916.             this.label1.Text = "User Name";
  917.             this.CZBindToolTip.SetToolTip(this.label1, "Set Your User/Player Name");
  918.             // 
  919.             // consolecolor
  920.             // 
  921.             this.consolecolor.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  922.             this.consolecolor.Location = new System.Drawing.Point(296, 32);
  923.             this.consolecolor.Name = "consolecolor";
  924.             this.consolecolor.RightToLeft = System.Windows.Forms.RightToLeft.No;
  925.             this.consolecolor.Size = new System.Drawing.Size(88, 24);
  926.             this.consolecolor.TabIndex = 48;
  927.             this.consolecolor.Text = "Change Colors";
  928.             this.CZBindToolTip.SetToolTip(this.consolecolor, "Click here to change the color of your in game text");
  929.             this.consolecolor.Click += new System.EventHandler(this.Consolecolor_Click);
  930.             // 
  931.             // consoleColorSample
  932.             // 
  933.             this.consoleColorSample.BackColor = System.Drawing.Color.Black;
  934.             this.consoleColorSample.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World);
  935.             this.consoleColorSample.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(128)), ((System.Byte)(0)));
  936.             this.consoleColorSample.Location = new System.Drawing.Point(16, 32);
  937.             this.consoleColorSample.Name = "consoleColorSample";
  938.             this.consoleColorSample.RightToLeft = System.Windows.Forms.RightToLeft.No;
  939.             this.consoleColorSample.Size = new System.Drawing.Size(272, 24);
  940.             this.consoleColorSample.TabIndex = 47;
  941.             this.consoleColorSample.Text = "Sample Counter-Strike In-Game Text Color";
  942.             this.CZBindToolTip.SetToolTip(this.consoleColorSample, "This is a sample of your in game text color");
  943.             // 
  944.             // CurrentBind_ListBox
  945.             // 
  946.             this.CurrentBind_ListBox.BackColor = System.Drawing.Color.White;
  947.             this.CurrentBind_ListBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
  948.             this.CurrentBind_ListBox.Dock = System.Windows.Forms.DockStyle.Fill;
  949.             this.CurrentBind_ListBox.ForeColor = System.Drawing.Color.Black;
  950.             this.CurrentBind_ListBox.HorizontalScrollbar = true;
  951.             this.CurrentBind_ListBox.Location = new System.Drawing.Point(3, 16);
  952.             this.CurrentBind_ListBox.Name = "CurrentBind_ListBox";
  953.             this.menuBar1.SetSandBarMenu(this.CurrentBind_ListBox, this.CurrentBind_ContextMenu);
  954.             this.CurrentBind_ListBox.Size = new System.Drawing.Size(378, 286);
  955.             this.CurrentBind_ListBox.Sorted = true;
  956.             this.CurrentBind_ListBox.TabIndex = 0;
  957.             this.CurrentBind_ListBox.Tag = "Current Bind Settings";
  958.             this.CZBindToolTip.SetToolTip(this.CurrentBind_ListBox, "This is all of your current custom binds");
  959.             // 
  960.             // groupBox1
  961.             // 
  962.             this.groupBox1.BackColor = System.Drawing.SystemColors.Control;
  963.             this.groupBox1.Controls.Add(this.unuseableButton6);
  964.             this.groupBox1.Controls.Add(this.unuseableButton5);
  965.             this.groupBox1.Controls.Add(this.unuseableButton4);
  966.             this.groupBox1.Controls.Add(this.unuseableButton3);
  967.             this.groupBox1.Controls.Add(this.unuseableButton2);
  968.             this.groupBox1.Controls.Add(this.unuseableButton1);
  969.             this.groupBox1.Controls.Add(this.kp_0);
  970.             this.groupBox1.Controls.Add(this.kp_dot);
  971.             this.groupBox1.Controls.Add(this.kp_rtn);
  972.             this.groupBox1.Controls.Add(this.kp_3);
  973.             this.groupBox1.Controls.Add(this.kp_2);
  974.             this.groupBox1.Controls.Add(this.kp_1);
  975.             this.groupBox1.Controls.Add(this.kp_6);
  976.             this.groupBox1.Controls.Add(this.kp_5);
  977.             this.groupBox1.Controls.Add(this.kp_4);
  978.             this.groupBox1.Controls.Add(this.kp_plus);
  979.             this.groupBox1.Controls.Add(this.kp_9);
  980.             this.groupBox1.Controls.Add(this.kp_8);
  981.             this.groupBox1.Controls.Add(this.kp_7);
  982.             this.groupBox1.Controls.Add(this.kp_dash);
  983.             this.groupBox1.Controls.Add(this.astrisk);
  984.             this.groupBox1.Controls.Add(this.kp_forwardslash);
  985.             this.groupBox1.Controls.Add(this.pause);
  986.             this.groupBox1.Controls.Add(this.rightarrow);
  987.             this.groupBox1.Controls.Add(this.leftarrow);
  988.             this.groupBox1.Controls.Add(this.downarrow);
  989.             this.groupBox1.Controls.Add(this.uparrow);
  990.             this.groupBox1.Controls.Add(this.pagedown);
  991.             this.groupBox1.Controls.Add(this.end);
  992.             this.groupBox1.Controls.Add(this.del);
  993.             this.groupBox1.Controls.Add(this.pageup);
  994.             this.groupBox1.Controls.Add(this.home);
  995.             this.groupBox1.Controls.Add(this.ins);
  996.             this.groupBox1.Controls.Add(this.rctrl);
  997.             this.groupBox1.Controls.Add(this.ralt);
  998.             this.groupBox1.Controls.Add(this.space);
  999.             this.groupBox1.Controls.Add(this.lalt);
  1000.             this.groupBox1.Controls.Add(this.lctrl);
  1001.             this.groupBox1.Controls.Add(this.rshift);
  1002.             this.groupBox1.Controls.Add(this.forwardslash);
  1003.             this.groupBox1.Controls.Add(this.closed_tag);
  1004.             this.groupBox1.Controls.Add(this.open_tag);
  1005.             this.groupBox1.Controls.Add(this.mkey);
  1006.             this.groupBox1.Controls.Add(this.nkey);
  1007.             this.groupBox1.Controls.Add(this.bkey);
  1008.             this.groupBox1.Controls.Add(this.vkey);
  1009.             this.groupBox1.Controls.Add(this.ckey);
  1010.             this.groupBox1.Controls.Add(this.xkey);
  1011.             this.groupBox1.Controls.Add(this.zkey);
  1012.             this.groupBox1.Controls.Add(this.lshift);
  1013.             this.groupBox1.Controls.Add(this.enter);
  1014.             this.groupBox1.Controls.Add(this.quotes);
  1015.             this.groupBox1.Controls.Add(this.semicol);
  1016.             this.groupBox1.Controls.Add(this.lkey);
  1017.             this.groupBox1.Controls.Add(this.kkey);
  1018.             this.groupBox1.Controls.Add(this.jkey);
  1019.             this.groupBox1.Controls.Add(this.hkey);
  1020.             this.groupBox1.Controls.Add(this.gkey);
  1021.             this.groupBox1.Controls.Add(this.fkey);
  1022.             this.groupBox1.Controls.Add(this.dkey);
  1023.             this.groupBox1.Controls.Add(this.skey);
  1024.             this.groupBox1.Controls.Add(this.akey);
  1025.             this.groupBox1.Controls.Add(this.caps);
  1026.             this.groupBox1.Controls.Add(this.backslash);
  1027.             this.groupBox1.Controls.Add(this.closed_square_brace_key);
  1028.             this.groupBox1.Controls.Add(this.open_square_brace_key);
  1029.             this.groupBox1.Controls.Add(this.pkey);
  1030.             this.groupBox1.Controls.Add(this.okey);
  1031.             this.groupBox1.Controls.Add(this.ikey);
  1032.             this.groupBox1.Controls.Add(this.ukey);
  1033.             this.groupBox1.Controls.Add(this.ykey);
  1034.             this.groupBox1.Controls.Add(this.tkey);
  1035.             this.groupBox1.Controls.Add(this.rkey);
  1036.             this.groupBox1.Controls.Add(this.ekey);
  1037.             this.groupBox1.Controls.Add(this.wkey);
  1038.             this.groupBox1.Controls.Add(this.qkey);
  1039.             this.groupBox1.Controls.Add(this.tab);
  1040.             this.groupBox1.Controls.Add(this.backspace);
  1041.             this.groupBox1.Controls.Add(this.equals);
  1042.             this.groupBox1.Controls.Add(this.dash);
  1043.             this.groupBox1.Controls.Add(this.zero);
  1044.             this.groupBox1.Controls.Add(this.nine);
  1045.             this.groupBox1.Controls.Add(this.eight);
  1046.             this.groupBox1.Controls.Add(this.seven);
  1047.             this.groupBox1.Controls.Add(this.six);
  1048.             this.groupBox1.Controls.Add(this.five);
  1049.             this.groupBox1.Controls.Add(this.four);
  1050.             this.groupBox1.Controls.Add(this.three);
  1051.             this.groupBox1.Controls.Add(this.two);
  1052.             this.groupBox1.Controls.Add(this.one);
  1053.             this.groupBox1.Controls.Add(this.tilda);
  1054.             this.groupBox1.Controls.Add(this.f12);
  1055.             this.groupBox1.Controls.Add(this.f11);
  1056.             this.groupBox1.Controls.Add(this.f10);
  1057.             this.groupBox1.Controls.Add(this.f9);
  1058.             this.groupBox1.Controls.Add(this.f8);
  1059.             this.groupBox1.Controls.Add(this.f7);
  1060.             this.groupBox1.Controls.Add(this.f6);
  1061.             this.groupBox1.Controls.Add(this.f5);
  1062.             this.groupBox1.Controls.Add(this.f4);
  1063.             this.groupBox1.Controls.Add(this.f3);
  1064.             this.groupBox1.Controls.Add(this.f2);
  1065.             this.groupBox1.Controls.Add(this.f1);
  1066.             this.groupBox1.Controls.Add(this.esc);
  1067.             this.groupBox1.Controls.Add(this.pictureBox1);
  1068.             this.groupBox1.Location = new System.Drawing.Point(8, 352);
  1069.             this.groupBox1.Name = "groupBox1";
  1070.             this.groupBox1.RightToLeft = System.Windows.Forms.RightToLeft.No;
  1071.             this.menuBar1.SetSandBarMenu(this.groupBox1, this.KeyboardLayout_ContextMenu);
  1072.             this.groupBox1.Size = new System.Drawing.Size(784, 248);
  1073.             this.groupBox1.TabIndex = 30;
  1074.             this.groupBox1.TabStop = false;
  1075.             this.groupBox1.Text = "Keyboard Layout";
  1076.             this.CZBindToolTip.SetToolTip(this.groupBox1, "Select keys to bind");
  1077.             // 
  1078.             // unuseableButton6
  1079.             // 
  1080.             this.unuseableButton6.Appearance = System.Windows.Forms.Appearance.Button;
  1081.             this.unuseableButton6.Enabled = false;
  1082.             this.unuseableButton6.Location = new System.Drawing.Point(552, 24);
  1083.             this.unuseableButton6.Name = "unuseableButton6";
  1084.             this.unuseableButton6.Size = new System.Drawing.Size(32, 32);
  1085.             this.unuseableButton6.TabIndex = 105;
  1086.             this.unuseableButton6.Text = "S/L";
  1087.             this.unuseableButton6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1088.             // 
  1089.             // unuseableButton5
  1090.             // 
  1091.             this.unuseableButton5.Appearance = System.Windows.Forms.Appearance.Button;
  1092.             this.unuseableButton5.Enabled = false;
  1093.             this.unuseableButton5.Location = new System.Drawing.Point(520, 24);
  1094.             this.unuseableButton5.Name = "unuseableButton5";
  1095.             this.unuseableButton5.Size = new System.Drawing.Size(32, 32);
  1096.             this.unuseableButton5.TabIndex = 104;
  1097.             this.unuseableButton5.Text = "P/S";
  1098.             this.unuseableButton5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1099.             // 
  1100.             // unuseableButton4
  1101.             // 
  1102.             this.unuseableButton4.Appearance = System.Windows.Forms.Appearance.Button;
  1103.             this.unuseableButton4.Enabled = false;
  1104.             this.unuseableButton4.Font = new System.Drawing.Font("Microsoft Sans Serif", 7F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
  1105.             this.unuseableButton4.Location = new System.Drawing.Point(640, 72);
  1106.             this.unuseableButton4.Name = "unuseableButton4";
  1107.             this.unuseableButton4.Size = new System.Drawing.Size(32, 32);
  1108.             this.unuseableButton4.TabIndex = 103;
  1109.             this.unuseableButton4.Text = "Num";
  1110.             this.unuseableButton4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1111.             // 
  1112.             // unuseableButton3
  1113.             // 
  1114.             this.unuseableButton3.Appearance = System.Windows.Forms.Appearance.Button;
  1115.             this.unuseableButton3.Enabled = false;
  1116.             this.unuseableButton3.Image = ((System.Drawing.Image)(resources.GetObject("unuseableButton3.Image")));
  1117.             this.unuseableButton3.Location = new System.Drawing.Point(400, 200);
  1118.             this.unuseableButton3.Name = "unuseableButton3";
  1119.             this.unuseableButton3.Size = new System.Drawing.Size(32, 32);
  1120.             this.unuseableButton3.TabIndex = 102;
  1121.             this.unuseableButton3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1122.             // 
  1123.             // unuseableButton2
  1124.             // 
  1125.             this.unuseableButton2.Appearance = System.Windows.Forms.Appearance.Button;
  1126.             this.unuseableButton2.Enabled = false;
  1127.             this.unuseableButton2.Image = ((System.Drawing.Image)(resources.GetObject("unuseableButton2.Image")));
  1128.             this.unuseableButton2.Location = new System.Drawing.Point(368, 200);
  1129.             this.unuseableButton2.Name = "unuseableButton2";
  1130.             this.unuseableButton2.Size = new System.Drawing.Size(32, 32);
  1131.             this.unuseableButton2.TabIndex = 101;
  1132.             this.unuseableButton2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1133.             // 
  1134.             // unuseableButton1
  1135.             // 
  1136.             this.unuseableButton1.Appearance = System.Windows.Forms.Appearance.Button;
  1137.             this.unuseableButton1.Enabled = false;
  1138.             this.unuseableButton1.Image = ((System.Drawing.Image)(resources.GetObject("unuseableButton1.Image")));
  1139.             this.unuseableButton1.Location = new System.Drawing.Point(72, 200);
  1140.             this.unuseableButton1.Name = "unuseableButton1";
  1141.             this.unuseableButton1.Size = new System.Drawing.Size(32, 32);
  1142.             this.unuseableButton1.TabIndex = 100;
  1143.             this.unuseableButton1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1144.             // 
  1145.             // kp_0
  1146.             // 
  1147.             this.kp_0.Appearance = System.Windows.Forms.Appearance.Button;
  1148.             this.kp_0.Location = new System.Drawing.Point(640, 200);
  1149.             this.kp_0.Name = "kp_0";
  1150.             this.kp_0.Size = new System.Drawing.Size(64, 32);
  1151.             this.kp_0.TabIndex = 98;
  1152.             this.kp_0.Text = "0";
  1153.             this.kp_0.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1154.             // 
  1155.             // kp_dot
  1156.             // 
  1157.             this.kp_dot.Appearance = System.Windows.Forms.Appearance.Button;
  1158.             this.kp_dot.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
  1159.             this.kp_dot.Location = new System.Drawing.Point(704, 200);
  1160.             this.kp_dot.Name = "kp_dot";
  1161.             this.kp_dot.Size = new System.Drawing.Size(32, 32);
  1162.             this.kp_dot.TabIndex = 97;
  1163.             this.kp_dot.Text = ".";
  1164.             this.kp_dot.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1165.             // 
  1166.             // kp_rtn
  1167.             // 
  1168.             this.kp_rtn.Appearance = System.Windows.Forms.Appearance.Button;
  1169.             this.kp_rtn.Location = new System.Drawing.Point(736, 168);
  1170.             this.kp_rtn.Name = "kp_rtn";
  1171.             this.kp_rtn.Size = new System.Drawing.Size(32, 64);
  1172.             this.kp_rtn.TabIndex = 95;
  1173.             this.kp_rtn.Text = "Rtn";
  1174.             this.kp_rtn.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1175.             // 
  1176.             // kp_3
  1177.             // 
  1178.             this.kp_3.Appearance = System.Windows.Forms.Appearance.Button;
  1179.             this.kp_3.Location = new System.Drawing.Point(704, 168);
  1180.             this.kp_3.Name = "kp_3";
  1181.             this.kp_3.Size = new System.Drawing.Size(32, 32);
  1182.             this.kp_3.TabIndex = 94;
  1183.             this.kp_3.Text = "3";
  1184.             this.kp_3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1185.             // 
  1186.             // kp_2
  1187.             // 
  1188.             this.kp_2.Appearance = System.Windows.Forms.Appearance.Button;
  1189.             this.kp_2.Location = new System.Drawing.Point(672, 168);
  1190.             this.kp_2.Name = "kp_2";
  1191.             this.kp_2.Size = new System.Drawing.Size(32, 32);
  1192.             this.kp_2.TabIndex = 93;
  1193.             this.kp_2.Text = "2";
  1194.             this.kp_2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1195.             // 
  1196.             // kp_1
  1197.             // 
  1198.             this.kp_1.Appearance = System.Windows.Forms.Appearance.Button;
  1199.             this.kp_1.Location = new System.Drawing.Point(640, 168);
  1200.             this.kp_1.Name = "kp_1";
  1201.             this.kp_1.Size = new System.Drawing.Size(32, 32);
  1202.             this.kp_1.TabIndex = 92;
  1203.             this.kp_1.Text = "1";
  1204.             this.kp_1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1205.             // 
  1206.             // kp_6
  1207.             // 
  1208.             this.kp_6.Appearance = System.Windows.Forms.Appearance.Button;
  1209.             this.kp_6.Location = new System.Drawing.Point(704, 136);
  1210.             this.kp_6.Name = "kp_6";
  1211.             this.kp_6.Size = new System.Drawing.Size(32, 32);
  1212.             this.kp_6.TabIndex = 91;
  1213.             this.kp_6.Text = "6";
  1214.             this.kp_6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1215.             // 
  1216.             // kp_5
  1217.             // 
  1218.             this.kp_5.Appearance = System.Windows.Forms.Appearance.Button;
  1219.             this.kp_5.Location = new System.Drawing.Point(672, 136);
  1220.             this.kp_5.Name = "kp_5";
  1221.             this.kp_5.Size = new System.Drawing.Size(32, 32);
  1222.             this.kp_5.TabIndex = 90;
  1223.             this.kp_5.Text = "5";
  1224.             this.kp_5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1225.             // 
  1226.             // kp_4
  1227.             // 
  1228.             this.kp_4.Appearance = System.Windows.Forms.Appearance.Button;
  1229.             this.kp_4.Location = new System.Drawing.Point(640, 136);
  1230.             this.kp_4.Name = "kp_4";
  1231.             this.kp_4.Size = new System.Drawing.Size(32, 32);
  1232.             this.kp_4.TabIndex = 89;
  1233.             this.kp_4.Text = "4";
  1234.             this.kp_4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1235.             // 
  1236.             // kp_plus
  1237.             // 
  1238.             this.kp_plus.Appearance = System.Windows.Forms.Appearance.Button;
  1239.             this.kp_plus.Location = new System.Drawing.Point(736, 104);
  1240.             this.kp_plus.Name = "kp_plus";
  1241.             this.kp_plus.Size = new System.Drawing.Size(32, 64);
  1242.             this.kp_plus.TabIndex = 88;
  1243.             this.kp_plus.Text = "+";
  1244.             this.kp_plus.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1245.             // 
  1246.             // kp_9
  1247.             // 
  1248.             this.kp_9.Appearance = System.Windows.Forms.Appearance.Button;
  1249.             this.kp_9.Location = new System.Drawing.Point(704, 104);
  1250.             this.kp_9.Name = "kp_9";
  1251.             this.kp_9.Size = new System.Drawing.Size(32, 32);
  1252.             this.kp_9.TabIndex = 87;
  1253.             this.kp_9.Text = "9";
  1254.             this.kp_9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1255.             // 
  1256.             // kp_8
  1257.             // 
  1258.             this.kp_8.Appearance = System.Windows.Forms.Appearance.Button;
  1259.             this.kp_8.Location = new System.Drawing.Point(672, 104);
  1260.             this.kp_8.Name = "kp_8";
  1261.             this.kp_8.Size = new System.Drawing.Size(32, 32);
  1262.             this.kp_8.TabIndex = 86;
  1263.             this.kp_8.Text = "8";
  1264.             this.kp_8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1265.             // 
  1266.             // kp_7
  1267.             // 
  1268.             this.kp_7.Appearance = System.Windows.Forms.Appearance.Button;
  1269.             this.kp_7.Location = new System.Drawing.Point(640, 104);
  1270.             this.kp_7.Name = "kp_7";
  1271.             this.kp_7.Size = new System.Drawing.Size(32, 32);
  1272.             this.kp_7.TabIndex = 85;
  1273.             this.kp_7.Text = "7";
  1274.             this.kp_7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1275.             // 
  1276.             // kp_dash
  1277.             // 
  1278.             this.kp_dash.Appearance = System.Windows.Forms.Appearance.Button;
  1279.             this.kp_dash.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
  1280.             this.kp_dash.Location = new System.Drawing.Point(736, 72);
  1281.             this.kp_dash.Name = "kp_dash";
  1282.             this.kp_dash.Size = new System.Drawing.Size(32, 32);
  1283.             this.kp_dash.TabIndex = 84;
  1284.             this.kp_dash.Text = "-";
  1285.             this.kp_dash.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1286.             // 
  1287.             // astrisk
  1288.             // 
  1289.             this.astrisk.Appearance = System.Windows.Forms.Appearance.Button;
  1290.             this.astrisk.Location = new System.Drawing.Point(704, 72);
  1291.             this.astrisk.Name = "astrisk";
  1292.             this.astrisk.Size = new System.Drawing.Size(32, 32);
  1293.             this.astrisk.TabIndex = 83;
  1294.             this.astrisk.Text = "*";
  1295.             this.astrisk.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1296.             // 
  1297.             // kp_forwardslash
  1298.             // 
  1299.             this.kp_forwardslash.Appearance = System.Windows.Forms.Appearance.Button;
  1300.             this.kp_forwardslash.Location = new System.Drawing.Point(672, 72);
  1301.             this.kp_forwardslash.Name = "kp_forwardslash";
  1302.             this.kp_forwardslash.Size = new System.Drawing.Size(32, 32);
  1303.             this.kp_forwardslash.TabIndex = 82;
  1304.             this.kp_forwardslash.Text = "/";
  1305.             this.kp_forwardslash.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1306.             // 
  1307.             // pause
  1308.             // 
  1309.             this.pause.Appearance = System.Windows.Forms.Appearance.Button;
  1310.             this.pause.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
  1311.             this.pause.Location = new System.Drawing.Point(584, 24);
  1312.             this.pause.Name = "pause";
  1313.             this.pause.Size = new System.Drawing.Size(32, 32);
  1314.             this.pause.TabIndex = 81;
  1315.             this.pause.Text = "Pse";
  1316.             // 
  1317.             // rightarrow
  1318.             // 
  1319.             this.rightarrow.Appearance = System.Windows.Forms.Appearance.Button;
  1320.             this.rightarrow.Image = ((System.Drawing.Image)(resources.GetObject("rightarrow.Image")));
  1321.             this.rightarrow.Location = new System.Drawing.Point(584, 200);
  1322.             this.rightarrow.Name = "rightarrow";
  1323.             this.rightarrow.Size = new System.Drawing.Size(32, 32);
  1324.             this.rightarrow.TabIndex = 80;
  1325.             this.rightarrow.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1326.             // 
  1327.             // leftarrow
  1328.             // 
  1329.             this.leftarrow.Appearance = System.Windows.Forms.Appearance.Button;
  1330.             this.leftarrow.Image = ((System.Drawing.Image)(resources.GetObject("leftarrow.Image")));
  1331.             this.leftarrow.Location = new System.Drawing.Point(520, 200);
  1332.             this.leftarrow.Name = "leftarrow";
  1333.             this.leftarrow.Size = new System.Drawing.Size(32, 32);
  1334.             this.leftarrow.TabIndex = 79;
  1335.             this.leftarrow.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1336.             // 
  1337.             // downarrow
  1338.             // 
  1339.             this.downarrow.Appearance = System.Windows.Forms.Appearance.Button;
  1340.             this.downarrow.Image = ((System.Drawing.Image)(resources.GetObject("downarrow.Image")));
  1341.             this.downarrow.Location = new System.Drawing.Point(552, 200);
  1342.             this.downarrow.Name = "downarrow";
  1343.             this.downarrow.Size = new System.Drawing.Size(32, 32);
  1344.             this.downarrow.TabIndex = 78;
  1345.             this.downarrow.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1346.             // 
  1347.             // uparrow
  1348.             // 
  1349.             this.uparrow.Appearance = System.Windows.Forms.Appearance.Button;
  1350.             this.uparrow.Image = ((System.Drawing.Image)(resources.GetObject("uparrow.Image")));
  1351.             this.uparrow.Location = new System.Drawing.Point(552, 168);
  1352.             this.uparrow.Name = "uparrow";
  1353.             this.uparrow.Size = new System.Drawing.Size(32, 32);
  1354.             this.uparrow.TabIndex = 77;
  1355.             this.uparrow.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1356.             // 
  1357.             // pagedown
  1358.             // 
  1359.             this.pagedown.Appearance = System.Windows.Forms.Appearance.Button;
  1360.             this.pagedown.Location = new System.Drawing.Point(584, 104);
  1361.             this.pagedown.Name = "pagedown";
  1362.             this.pagedown.Size = new System.Drawing.Size(32, 32);
  1363.             this.pagedown.TabIndex = 76;
  1364.             this.pagedown.Text = "PD";
  1365.             this.pagedown.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1366.             // 
  1367.             // end
  1368.             // 
  1369.             this.end.Appearance = System.Windows.Forms.Appearance.Button;
  1370.             this.end.Location = new System.Drawing.Point(552, 104);
  1371.             this.end.Name = "end";
  1372.             this.end.Size = new System.Drawing.Size(32, 32);
  1373.             this.end.TabIndex = 75;
  1374.             this.end.Text = "End";
  1375.             this.end.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1376.             // 
  1377.             // del
  1378.             // 
  1379.             this.del.Appearance = System.Windows.Forms.Appearance.Button;
  1380.             this.del.Location = new System.Drawing.Point(520, 104);
  1381.             this.del.Name = "del";
  1382.             this.del.Size = new System.Drawing.Size(32, 32);
  1383.             this.del.TabIndex = 74;
  1384.             this.del.Text = "Del";
  1385.             this.del.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1386.             // 
  1387.             // pageup
  1388.             // 
  1389.             this.pageup.Appearance = System.Windows.Forms.Appearance.Button;
  1390.             this.pageup.Location = new System.Drawing.Point(584, 72);
  1391.             this.pageup.Name = "pageup";
  1392.             this.pageup.Size = new System.Drawing.Size(32, 32);
  1393.             this.pageup.TabIndex = 73;
  1394.             this.pageup.Text = "PU";
  1395.             this.pageup.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1396.             // 
  1397.             // home
  1398.             // 
  1399.             this.home.Appearance = System.Windows.Forms.Appearance.Button;
  1400.             this.home.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
  1401.             this.home.Location = new System.Drawing.Point(552, 72);
  1402.             this.home.Name = "home";
  1403.             this.home.Size = new System.Drawing.Size(32, 32);
  1404.             this.home.TabIndex = 72;
  1405.             this.home.Text = "Hm";
  1406.             this.home.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1407.             // 
  1408.             // ins
  1409.             // 
  1410.             this.ins.Appearance = System.Windows.Forms.Appearance.Button;
  1411.             this.ins.Location = new System.Drawing.Point(520, 72);
  1412.             this.ins.Name = "ins";
  1413.             this.ins.Size = new System.Drawing.Size(32, 32);
  1414.             this.ins.TabIndex = 71;
  1415.             this.ins.Text = "Ins";
  1416.             this.ins.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1417.             // 
  1418.             // rctrl
  1419.             // 
  1420.             this.rctrl.Appearance = System.Windows.Forms.Appearance.Button;
  1421.             this.rctrl.Location = new System.Drawing.Point(432, 200);
  1422.             this.rctrl.Name = "rctrl";
  1423.             this.rctrl.Size = new System.Drawing.Size(64, 32);
  1424.             this.rctrl.TabIndex = 70;
  1425.             this.rctrl.Text = "Ctrl";
  1426.             this.rctrl.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1427.             // 
  1428.             // ralt
  1429.             // 
  1430.             this.ralt.Appearance = System.Windows.Forms.Appearance.Button;
  1431.             this.ralt.Location = new System.Drawing.Point(328, 200);
  1432.             this.ralt.Name = "ralt";
  1433.             this.ralt.Size = new System.Drawing.Size(40, 32);
  1434.             this.ralt.TabIndex = 69;
  1435.             this.ralt.Text = "Alt";
  1436.             this.ralt.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1437.             // 
  1438.             // space
  1439.             // 
  1440.             this.space.Appearance = System.Windows.Forms.Appearance.Button;
  1441.             this.space.Location = new System.Drawing.Point(144, 200);
  1442.             this.space.Name = "space";
  1443.             this.space.Size = new System.Drawing.Size(184, 32);
  1444.             this.space.TabIndex = 68;
  1445.             this.space.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1446.             // 
  1447.             // lalt
  1448.             // 
  1449.             this.lalt.Appearance = System.Windows.Forms.Appearance.Button;
  1450.             this.lalt.Location = new System.Drawing.Point(104, 200);
  1451.             this.lalt.Name = "lalt";
  1452.             this.lalt.Size = new System.Drawing.Size(40, 32);
  1453.             this.lalt.TabIndex = 67;
  1454.             this.lalt.Text = "Alt";
  1455.             this.lalt.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1456.             // 
  1457.             // lctrl
  1458.             // 
  1459.             this.lctrl.Appearance = System.Windows.Forms.Appearance.Button;
  1460.             this.lctrl.Location = new System.Drawing.Point(16, 200);
  1461.             this.lctrl.Name = "lctrl";
  1462.             this.lctrl.Size = new System.Drawing.Size(56, 32);
  1463.             this.lctrl.TabIndex = 66;
  1464.             this.lctrl.Text = "Ctrl";
  1465.             this.lctrl.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1466.             // 
  1467.             // rshift
  1468.             // 
  1469.             this.rshift.Appearance = System.Windows.Forms.Appearance.Button;
  1470.             this.rshift.Location = new System.Drawing.Point(408, 168);
  1471.             this.rshift.Name = "rshift";
  1472.             this.rshift.Size = new System.Drawing.Size(88, 32);
  1473.             this.rshift.TabIndex = 65;
  1474.             this.rshift.Text = "Shift";
  1475.             this.rshift.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1476.             // 
  1477.             // forwardslash
  1478.             // 
  1479.             this.forwardslash.Appearance = System.Windows.Forms.Appearance.Button;
  1480.             this.forwardslash.Location = new System.Drawing.Point(376, 168);
  1481.             this.forwardslash.Name = "forwardslash";
  1482.             this.forwardslash.Size = new System.Drawing.Size(32, 32);
  1483.             this.forwardslash.TabIndex = 64;
  1484.             this.forwardslash.Text = "/";
  1485.             this.forwardslash.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1486.             // 
  1487.             // closed_tag
  1488.             // 
  1489.             this.closed_tag.Appearance = System.Windows.Forms.Appearance.Button;
  1490.             this.closed_tag.Location = new System.Drawing.Point(344, 168);
  1491.             this.closed_tag.Name = "closed_tag";
  1492.             this.closed_tag.Size = new System.Drawing.Size(32, 32);
  1493.             this.closed_tag.TabIndex = 63;
  1494.             this.closed_tag.Text = ">";
  1495.             this.closed_tag.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1496.             // 
  1497.             // open_tag
  1498.             // 
  1499.             this.open_tag.Appearance = System.Windows.Forms.Appearance.Button;
  1500.             this.open_tag.Location = new System.Drawing.Point(312, 168);
  1501.             this.open_tag.Name = "open_tag";
  1502.             this.open_tag.Size = new System.Drawing.Size(32, 32);
  1503.             this.open_tag.TabIndex = 62;
  1504.             this.open_tag.Text = "<";
  1505.             this.open_tag.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1506.             // 
  1507.             // mkey
  1508.             // 
  1509.             this.mkey.Appearance = System.Windows.Forms.Appearance.Button;
  1510.             this.mkey.Location = new System.Drawing.Point(280, 168);
  1511.             this.mkey.Name = "mkey";
  1512.             this.mkey.Size = new System.Drawing.Size(32, 32);
  1513.             this.mkey.TabIndex = 61;
  1514.             this.mkey.Text = "M";
  1515.             this.mkey.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1516.             // 
  1517.             // nkey
  1518.             // 
  1519.             this.nkey.Appearance = System.Windows.Forms.Appearance.Button;
  1520.             this.nkey.Location = new System.Drawing.Point(248, 168);
  1521.             this.nkey.Name = "nkey";
  1522.             this.nkey.Size = new System.Drawing.Size(32, 32);
  1523.             this.nkey.TabIndex = 60;
  1524.             this.nkey.Text = "N";
  1525.             this.nkey.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1526.             // 
  1527.             // bkey
  1528.             // 
  1529.             this.bkey.Appearance = System.Windows.Forms.Appearance.Button;
  1530.             this.bkey.Location = new System.Drawing.Point(216, 168);
  1531.             this.bkey.Name = "bkey";
  1532.             this.bkey.Size = new System.Drawing.Size(32, 32);
  1533.             this.bkey.TabIndex = 59;
  1534.             this.bkey.Text = "B";
  1535.             this.bkey.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1536.             // 
  1537.             // vkey
  1538.             // 
  1539.             this.vkey.Appearance = System.Windows.Forms.Appearance.Button;
  1540.             this.vkey.Location = new System.Drawing.Point(184, 168);
  1541.             this.vkey.Name = "vkey";
  1542.             this.vkey.Size = new System.Drawing.Size(32, 32);
  1543.             this.vkey.TabIndex = 58;
  1544.             this.vkey.Text = "V";
  1545.             this.vkey.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1546.             // 
  1547.             // ckey
  1548.             // 
  1549.             this.ckey.Appearance = System.Windows.Forms.Appearance.Button;
  1550.             this.ckey.Location = new System.Drawing.Point(152, 168);
  1551.             this.ckey.Name = "ckey";
  1552.             this.ckey.Size = new System.Drawing.Size(32, 32);
  1553.             this.ckey.TabIndex = 57;
  1554.             this.ckey.Text = "C";
  1555.             this.ckey.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1556.             // 
  1557.             // xkey
  1558.             // 
  1559.             this.xkey.Appearance = System.Windows.Forms.Appearance.Button;
  1560.             this.xkey.Location = new System.Drawing.Point(120, 168);
  1561.             this.xkey.Name = "xkey";
  1562.             this.xkey.Size = new System.Drawing.Size(32, 32);
  1563.             this.xkey.TabIndex = 56;
  1564.             this.xkey.Text = "X";
  1565.             this.xkey.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1566.             // 
  1567.             // zkey
  1568.             // 
  1569.             this.zkey.Appearance = System.Windows.Forms.Appearance.Button;
  1570.             this.zkey.Location = new System.Drawing.Point(88, 168);
  1571.             this.zkey.Name = "zkey";
  1572.             this.zkey.Size = new System.Drawing.Size(32, 32);
  1573.             this.zkey.TabIndex = 55;
  1574.             this.zkey.Text = "Z";
  1575.             this.zkey.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1576.             // 
  1577.             // lshift
  1578.             // 
  1579.             this.lshift.Appearance = System.Windows.Forms.Appearance.Button;
  1580.             this.lshift.Location = new System.Drawing.Point(16, 168);
  1581.             this.lshift.Name = "lshift";
  1582.             this.lshift.Size = new System.Drawing.Size(72, 32);
  1583.             this.lshift.TabIndex = 54;
  1584.             this.lshift.Text = "Shift";
  1585.             this.lshift.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1586.             // 
  1587.             // enter
  1588.             // 
  1589.             this.enter.Appearance = System.Windows.Forms.Appearance.Button;
  1590.             this.enter.Location = new System.Drawing.Point(424, 136);
  1591.             this.enter.Name = "enter";
  1592.             this.enter.Size = new System.Drawing.Size(72, 32);
  1593.             this.enter.TabIndex = 53;
  1594.             this.enter.Text = "Enter";
  1595.             this.enter.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1596.             // 
  1597.             // quotes
  1598.             // 
  1599.             this.quotes.Appearance = System.Windows.Forms.Appearance.Button;
  1600.             this.quotes.Location = new System.Drawing.Point(392, 136);
  1601.             this.quotes.Name = "quotes";
  1602.             this.quotes.Size = new System.Drawing.Size(32, 32);
  1603.             this.quotes.TabIndex = 52;
  1604.             this.quotes.Text = "\"";
  1605.             this.quotes.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1606.             // 
  1607.             // semicol
  1608.             // 
  1609.             this.semicol.Appearance = System.Windows.Forms.Appearance.Button;
  1610.             this.semicol.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
  1611.             this.semicol.Location = new System.Drawing.Point(360, 136);
  1612.             this.semicol.Name = "semicol";
  1613.             this.semicol.Size = new System.Drawing.Size(32, 32);
  1614.             this.semicol.TabIndex = 51;
  1615.             this.semicol.Text = ";";
  1616.             this.semicol.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1617.             // 
  1618.             // lkey
  1619.             // 
  1620.             this.lkey.Appearance = System.Windows.Forms.Appearance.Button;
  1621.             this.lkey.Location = new System.Drawing.Point(328, 136);
  1622.             this.lkey.Name = "lkey";
  1623.             this.lkey.Size = new System.Drawing.Size(32, 32);
  1624.             this.lkey.TabIndex = 50;
  1625.             this.lkey.Text = "L";
  1626.             this.lkey.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1627.             // 
  1628.             // kkey
  1629.             // 
  1630.             this.kkey.Appearance = System.Windows.Forms.Appearance.Button;
  1631.             this.kkey.Location = new System.Drawing.Point(296, 136);
  1632.             this.kkey.Name = "kkey";
  1633.             this.kkey.Size = new System.Drawing.Size(32, 32);
  1634.             this.kkey.TabIndex = 49;
  1635.             this.kkey.Text = "K";
  1636.             this.kkey.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1637.             // 
  1638.             // jkey
  1639.             // 
  1640.             this.jkey.Appearance = System.Windows.Forms.Appearance.Button;
  1641.             this.jkey.Location = new System.Drawing.Point(264, 136);
  1642.             this.jkey.Name = "jkey";
  1643.             this.jkey.Size = new System.Drawing.Size(32, 32);
  1644.             this.jkey.TabIndex = 48;
  1645.             this.jkey.Text = "J";
  1646.             this.jkey.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1647.             // 
  1648.             // hkey
  1649.             // 
  1650.             this.hkey.Appearance = System.Windows.Forms.Appearance.Button;
  1651.             this.hkey.Location = new System.Drawing.Point(232, 136);
  1652.             this.hkey.Name = "hkey";
  1653.             this.hkey.Size = new System.Drawing.Size(32, 32);
  1654.             this.hkey.TabIndex = 47;
  1655.             this.hkey.Text = "H";
  1656.             this.hkey.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1657.             // 
  1658.             // gkey
  1659.             // 
  1660.             this.gkey.Appearance = System.Windows.Forms.Appearance.Button;
  1661.             this.gkey.Location = new System.Drawing.Point(200, 136);
  1662.             this.gkey.Name = "gkey";
  1663.             this.gkey.Size = new System.Drawing.Size(32, 32);
  1664.             this.gkey.TabIndex = 46;
  1665.             this.gkey.Text = "G";
  1666.             this.gkey.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1667.             // 
  1668.             // fkey
  1669.             // 
  1670.             this.fkey.Appearance = System.Windows.Forms.Appearance.Button;
  1671.             this.fkey.Location = new System.Drawing.Point(168, 136);
  1672.             this.fkey.Name = "fkey";
  1673.             this.fkey.Size = new System.Drawing.Size(32, 32);
  1674.             this.fkey.TabIndex = 45;
  1675.             this.fkey.Text = "F";
  1676.             this.fkey.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1677.             // 
  1678.             // dkey
  1679.             // 
  1680.             this.dkey.Appearance = System.Windows.Forms.Appearance.Button;
  1681.             this.dkey.Location = new System.Drawing.Point(136, 136);
  1682.             this.dkey.Name = "dkey";
  1683.             this.dkey.Size = new System.Drawing.Size(32, 32);
  1684.             this.dkey.TabIndex = 44;
  1685.             this.dkey.Text = "D";
  1686.             this.dkey.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1687.             // 
  1688.             // skey
  1689.             // 
  1690.             this.skey.Appearance = System.Windows.Forms.Appearance.Button;
  1691.             this.skey.Location = new System.Drawing.Point(104, 136);
  1692.             this.skey.Name = "skey";
  1693.             this.skey.Size = new System.Drawing.Size(32, 32);
  1694.             this.skey.TabIndex = 43;
  1695.             this.skey.Text = "S";
  1696.             this.skey.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1697.             // 
  1698.             // akey
  1699.             // 
  1700.             this.akey.Appearance = System.Windows.Forms.Appearance.Button;
  1701.             this.akey.Location = new System.Drawing.Point(72, 136);
  1702.             this.akey.Name = "akey";
  1703.             this.akey.Size = new System.Drawing.Size(32, 32);
  1704.             this.akey.TabIndex = 42;
  1705.             this.akey.Text = "A";
  1706.             this.akey.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1707.             // 
  1708.             // caps
  1709.             // 
  1710.             this.caps.Appearance = System.Windows.Forms.Appearance.Button;
  1711.             this.caps.Location = new System.Drawing.Point(16, 136);
  1712.             this.caps.Name = "caps";
  1713.             this.caps.Size = new System.Drawing.Size(56, 32);
  1714.             this.caps.TabIndex = 41;
  1715.             this.caps.Text = "Caps";
  1716.             this.caps.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1717.             // 
  1718.             // backslash
  1719.             // 
  1720.             this.backslash.Appearance = System.Windows.Forms.Appearance.Button;
  1721.             this.backslash.Location = new System.Drawing.Point(448, 104);
  1722.             this.backslash.Name = "backslash";
  1723.             this.backslash.Size = new System.Drawing.Size(48, 32);
  1724.             this.backslash.TabIndex = 40;
  1725.             this.backslash.Text = "\\";
  1726.             this.backslash.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1727.             // 
  1728.             // closed_square_brace_key
  1729.             // 
  1730.             this.closed_square_brace_key.Appearance = System.Windows.Forms.Appearance.Button;
  1731.             this.closed_square_brace_key.Location = new System.Drawing.Point(416, 104);
  1732.             this.closed_square_brace_key.Name = "closed_square_brace_key";
  1733.             this.closed_square_brace_key.Size = new System.Drawing.Size(32, 32);
  1734.             this.closed_square_brace_key.TabIndex = 39;
  1735.             this.closed_square_brace_key.Text = "]";
  1736.             this.closed_square_brace_key.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1737.             // 
  1738.             // open_square_brace_key
  1739.             // 
  1740.             this.open_square_brace_key.Appearance = System.Windows.Forms.Appearance.Button;
  1741.             this.open_square_brace_key.Location = new System.Drawing.Point(384, 104);
  1742.             this.open_square_brace_key.Name = "open_square_brace_key";
  1743.             this.open_square_brace_key.Size = new System.Drawing.Size(32, 32);
  1744.             this.open_square_brace_key.TabIndex = 38;
  1745.             this.open_square_brace_key.Text = "[";
  1746.             this.open_square_brace_key.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1747.             // 
  1748.             // pkey
  1749.             // 
  1750.             this.pkey.Appearance = System.Windows.Forms.Appearance.Button;
  1751.             this.pkey.Location = new System.Drawing.Point(352, 104);
  1752.             this.pkey.Name = "pkey";
  1753.             this.pkey.Size = new System.Drawing.Size(32, 32);
  1754.             this.pkey.TabIndex = 37;
  1755.             this.pkey.Text = "P";
  1756.             this.pkey.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1757.             // 
  1758.             // okey
  1759.             // 
  1760.             this.okey.Appearance = System.Windows.Forms.Appearance.Button;
  1761.             this.okey.Location = new System.Drawing.Point(320, 104);
  1762.             this.okey.Name = "okey";
  1763.             this.okey.Size = new System.Drawing.Size(32, 32);
  1764.             this.okey.TabIndex = 36;
  1765.             this.okey.Text = "O";
  1766.             this.okey.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1767.             // 
  1768.             // ikey
  1769.             // 
  1770.             this.ikey.Appearance = System.Windows.Forms.Appearance.Button;
  1771.             this.ikey.Location = new System.Drawing.Point(288, 104);
  1772.             this.ikey.Name = "ikey";
  1773.             this.ikey.Size = new System.Drawing.Size(32, 32);
  1774.             this.ikey.TabIndex = 35;
  1775.             this.ikey.Text = "I";
  1776.             this.ikey.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1777.             // 
  1778.             // ukey
  1779.             // 
  1780.             this.ukey.Appearance = System.Windows.Forms.Appearance.Button;
  1781.             this.ukey.Location = new System.Drawing.Point(256, 104);
  1782.             this.ukey.Name = "ukey";
  1783.             this.ukey.Size = new System.Drawing.Size(32, 32);
  1784.             this.ukey.TabIndex = 34;
  1785.             this.ukey.Text = "U";
  1786.             this.ukey.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1787.             // 
  1788.             // ykey
  1789.             // 
  1790.             this.ykey.Appearance = System.Windows.Forms.Appearance.Button;
  1791.             this.ykey.Location = new System.Drawing.Point(224, 104);
  1792.             this.ykey.Name = "ykey";
  1793.             this.ykey.Size = new System.Drawing.Size(32, 32);
  1794.             this.ykey.TabIndex = 33;
  1795.             this.ykey.Text = "Y";
  1796.             this.ykey.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1797.             // 
  1798.             // tkey
  1799.             // 
  1800.             this.tkey.Appearance = System.Windows.Forms.Appearance.Button;
  1801.             this.tkey.Location = new System.Drawing.Point(192, 104);
  1802.             this.tkey.Name = "tkey";
  1803.             this.tkey.Size = new System.Drawing.Size(32, 32);
  1804.             this.tkey.TabIndex = 32;
  1805.             this.tkey.Text = "T";
  1806.             this.tkey.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1807.             // 
  1808.             // rkey
  1809.             // 
  1810.             this.rkey.Appearance = System.Windows.Forms.Appearance.Button;
  1811.             this.rkey.Location = new System.Drawing.Point(160, 104);
  1812.             this.rkey.Name = "rkey";
  1813.             this.rkey.Size = new System.Drawing.Size(32, 32);
  1814.             this.rkey.TabIndex = 31;
  1815.             this.rkey.Text = "R";
  1816.             this.rkey.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1817.             // 
  1818.             // ekey
  1819.             // 
  1820.             this.ekey.Appearance = System.Windows.Forms.Appearance.Button;
  1821.             this.ekey.Location = new System.Drawing.Point(128, 104);
  1822.             this.ekey.Name = "ekey";
  1823.             this.ekey.Size = new System.Drawing.Size(32, 32);
  1824.             this.ekey.TabIndex = 30;
  1825.             this.ekey.Text = "E";
  1826.             this.ekey.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1827.             // 
  1828.             // wkey
  1829.             // 
  1830.             this.wkey.Appearance = System.Windows.Forms.Appearance.Button;
  1831.             this.wkey.Location = new System.Drawing.Point(96, 104);
  1832.             this.wkey.Name = "wkey";
  1833.             this.wkey.Size = new System.Drawing.Size(32, 32);
  1834.             this.wkey.TabIndex = 29;
  1835.             this.wkey.Text = "W";
  1836.             this.wkey.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1837.             // 
  1838.             // qkey
  1839.             // 
  1840.             this.qkey.Appearance = System.Windows.Forms.Appearance.Button;
  1841.             this.qkey.Location = new System.Drawing.Point(64, 104);
  1842.             this.qkey.Name = "qkey";
  1843.             this.qkey.Size = new System.Drawing.Size(32, 32);
  1844.             this.qkey.TabIndex = 28;
  1845.             this.qkey.Text = "Q";
  1846.             this.qkey.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1847.             // 
  1848.             // tab
  1849.             // 
  1850.             this.tab.Appearance = System.Windows.Forms.Appearance.Button;
  1851.             this.tab.Location = new System.Drawing.Point(16, 104);
  1852.             this.tab.Name = "tab";
  1853.             this.tab.Size = new System.Drawing.Size(48, 32);
  1854.             this.tab.TabIndex = 27;
  1855.             this.tab.Text = "Tab";
  1856.             this.tab.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1857.             // 
  1858.             // backspace
  1859.             // 
  1860.             this.backspace.Appearance = System.Windows.Forms.Appearance.Button;
  1861.             this.backspace.Location = new System.Drawing.Point(432, 72);
  1862.             this.backspace.Name = "backspace";
  1863.             this.backspace.Size = new System.Drawing.Size(64, 32);
  1864.             this.backspace.TabIndex = 26;
  1865.             this.backspace.Text = "<- Bksp";
  1866.             this.backspace.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1867.             // 
  1868.             // equals
  1869.             // 
  1870.             this.equals.Appearance = System.Windows.Forms.Appearance.Button;
  1871.             this.equals.Location = new System.Drawing.Point(400, 72);
  1872.             this.equals.Name = "equals";
  1873.             this.equals.Size = new System.Drawing.Size(32, 32);
  1874.             this.equals.TabIndex = 25;
  1875.             this.equals.Text = "=";
  1876.             this.equals.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1877.             // 
  1878.             // dash
  1879.             // 
  1880.             this.dash.Appearance = System.Windows.Forms.Appearance.Button;
  1881.             this.dash.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
  1882.             this.dash.Location = new System.Drawing.Point(368, 72);
  1883.             this.dash.Name = "dash";
  1884.             this.dash.Size = new System.Drawing.Size(32, 32);
  1885.             this.dash.TabIndex = 24;
  1886.             this.dash.Text = "-";
  1887.             this.dash.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1888.             // 
  1889.             // zero
  1890.             // 
  1891.             this.zero.Appearance = System.Windows.Forms.Appearance.Button;
  1892.             this.zero.Location = new System.Drawing.Point(336, 72);
  1893.             this.zero.Name = "zero";
  1894.             this.zero.Size = new System.Drawing.Size(32, 32);
  1895.             this.zero.TabIndex = 23;
  1896.             this.zero.Text = "0";
  1897.             this.zero.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1898.             // 
  1899.             // nine
  1900.             // 
  1901.             this.nine.Appearance = System.Windows.Forms.Appearance.Button;
  1902.             this.nine.Location = new System.Drawing.Point(304, 72);
  1903.             this.nine.Name = "nine";
  1904.             this.nine.Size = new System.Drawing.Size(32, 32);
  1905.             this.nine.TabIndex = 22;
  1906.             this.nine.Text = "9";
  1907.             this.nine.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1908.             // 
  1909.             // eight
  1910.             // 
  1911.             this.eight.Appearance = System.Windows.Forms.Appearance.Button;
  1912.             this.eight.Location = new System.Drawing.Point(272, 72);
  1913.             this.eight.Name = "eight";
  1914.             this.eight.Size = new System.Drawing.Size(32, 32);
  1915.             this.eight.TabIndex = 21;
  1916.             this.eight.Text = "8";
  1917.             this.eight.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1918.             // 
  1919.             // seven
  1920.             // 
  1921.             this.seven.Appearance = System.Windows.Forms.Appearance.Button;
  1922.             this.seven.Location = new System.Drawing.Point(240, 72);
  1923.             this.seven.Name = "seven";
  1924.             this.seven.Size = new System.Drawing.Size(32, 32);
  1925.             this.seven.TabIndex = 20;
  1926.             this.seven.Text = "7";
  1927.             this.seven.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1928.             // 
  1929.             // six
  1930.             // 
  1931.             this.six.Appearance = System.Windows.Forms.Appearance.Button;
  1932.             this.six.Location = new System.Drawing.Point(208, 72);
  1933.             this.six.Name = "six";
  1934.             this.six.Size = new System.Drawing.Size(32, 32);
  1935.             this.six.TabIndex = 19;
  1936.             this.six.Text = "6";
  1937.             this.six.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1938.             // 
  1939.             // five
  1940.             // 
  1941.             this.five.Appearance = System.Windows.Forms.Appearance.Button;
  1942.             this.five.Location = new System.Drawing.Point(176, 72);
  1943.             this.five.Name = "five";
  1944.             this.five.Size = new System.Drawing.Size(32, 32);
  1945.             this.five.TabIndex = 18;
  1946.             this.five.Text = "5";
  1947.             this.five.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1948.             // 
  1949.             // four
  1950.             // 
  1951.             this.four.Appearance = System.Windows.Forms.Appearance.Button;
  1952.             this.four.Location = new System.Drawing.Point(144, 72);
  1953.             this.four.Name = "four";
  1954.             this.four.Size = new System.Drawing.Size(32, 32);
  1955.             this.four.TabIndex = 17;
  1956.             this.four.Text = "4";
  1957.             this.four.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1958.             // 
  1959.             // three
  1960.             // 
  1961.             this.three.Appearance = System.Windows.Forms.Appearance.Button;
  1962.             this.three.Location = new System.Drawing.Point(112, 72);
  1963.             this.three.Name = "three";
  1964.             this.three.Size = new System.Drawing.Size(32, 32);
  1965.             this.three.TabIndex = 16;
  1966.             this.three.Text = "3";
  1967.             this.three.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1968.             // 
  1969.             // two
  1970.             // 
  1971.             this.two.Appearance = System.Windows.Forms.Appearance.Button;
  1972.             this.two.Location = new System.Drawing.Point(80, 72);
  1973.             this.two.Name = "two";
  1974.             this.two.Size = new System.Drawing.Size(32, 32);
  1975.             this.two.TabIndex = 15;
  1976.             this.two.Text = "2";
  1977.             this.two.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1978.             // 
  1979.             // one
  1980.             // 
  1981.             this.one.Appearance = System.Windows.Forms.Appearance.Button;
  1982.             this.one.Location = new System.Drawing.Point(48, 72);
  1983.             this.one.Name = "one";
  1984.             this.one.Size = new System.Drawing.Size(32, 32);
  1985.             this.one.TabIndex = 14;
  1986.             this.one.Text = "1";
  1987.             this.one.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1988.             // 
  1989.             // tilda
  1990.             // 
  1991.             this.tilda.Appearance = System.Windows.Forms.Appearance.Button;
  1992.             this.tilda.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
  1993.             this.tilda.Location = new System.Drawing.Point(16, 72);
  1994.             this.tilda.Name = "tilda";
  1995.             this.tilda.Size = new System.Drawing.Size(32, 32);
  1996.             this.tilda.TabIndex = 13;
  1997.             this.tilda.Text = "~";
  1998.             this.tilda.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1999.             // 
  2000.             // f12
  2001.             // 
  2002.             this.f12.Appearance = System.Windows.Forms.Appearance.Button;
  2003.             this.f12.Location = new System.Drawing.Point(464, 24);
  2004.             this.f12.Name = "f12";
  2005.             this.f12.Size = new System.Drawing.Size(32, 32);
  2006.             this.f12.TabIndex = 12;
  2007.             this.f12.Text = "F12";
  2008.             // 
  2009.             // f11
  2010.             // 
  2011.             this.f11.Appearance = System.Windows.Forms.Appearance.Button;
  2012.             this.f11.Location = new System.Drawing.Point(432, 24);
  2013.             this.f11.Name = "f11";
  2014.             this.f11.Size = new System.Drawing.Size(32, 32);
  2015.             this.f11.TabIndex = 11;
  2016.             this.f11.Text = "F11";
  2017.             // 
  2018.             // f10
  2019.             // 
  2020.             this.f10.Appearance = System.Windows.Forms.Appearance.Button;
  2021.             this.f10.Location = new System.Drawing.Point(400, 24);
  2022.             this.f10.Name = "f10";
  2023.             this.f10.Size = new System.Drawing.Size(32, 32);
  2024.             this.f10.TabIndex = 10;
  2025.             this.f10.Text = "F10";
  2026.             // 
  2027.             // f9
  2028.             // 
  2029.             this.f9.Appearance = System.Windows.Forms.Appearance.Button;
  2030.             this.f9.Location = new System.Drawing.Point(368, 24);
  2031.             this.f9.Name = "f9";
  2032.             this.f9.Size = new System.Drawing.Size(32, 32);
  2033.             this.f9.TabIndex = 9;
  2034.             this.f9.Text = "F9";
  2035.             // 
  2036.             // f8
  2037.             // 
  2038.             this.f8.Appearance = System.Windows.Forms.Appearance.Button;
  2039.             this.f8.Location = new System.Drawing.Point(320, 24);
  2040.             this.f8.Name = "f8";
  2041.             this.f8.Size = new System.Drawing.Size(32, 32);
  2042.             this.f8.TabIndex = 8;
  2043.             this.f8.Text = "F8";
  2044.             // 
  2045.             // f7
  2046.             // 
  2047.             this.f7.Appearance = System.Windows.Forms.Appearance.Button;
  2048.             this.f7.Location = new System.Drawing.Point(288, 24);
  2049.             this.f7.Name = "f7";
  2050.             this.f7.Size = new System.Drawing.Size(32, 32);
  2051.             this.f7.TabIndex = 7;
  2052.             this.f7.Text = "F7";
  2053.             // 
  2054.             // f6
  2055.             // 
  2056.             this.f6.Appearance = System.Windows.Forms.Appearance.Button;
  2057.             this.f6.Location = new System.Drawing.Point(256, 24);
  2058.             this.f6.Name = "f6";
  2059.             this.f6.Size = new System.Drawing.Size(32, 32);
  2060.             this.f6.TabIndex = 6;
  2061.             this.f6.Text = "F6";
  2062.             // 
  2063.             // f5
  2064.             // 
  2065.             this.f5.Appearance = System.Windows.Forms.Appearance.Button;
  2066.             this.f5.Location = new System.Drawing.Point(224, 24);
  2067.             this.f5.Name = "f5";
  2068.             this.f5.Size = new System.Drawing.Size(32, 32);
  2069.             this.f5.TabIndex = 5;
  2070.             this.f5.Text = "F5";
  2071.             // 
  2072.             // f4
  2073.             // 
  2074.             this.f4.Appearance = System.Windows.Forms.Appearance.Button;
  2075.             this.f4.Location = new System.Drawing.Point(176, 24);
  2076.             this.f4.Name = "f4";
  2077.             this.f4.Size = new System.Drawing.Size(32, 32);
  2078.             this.f4.TabIndex = 4;
  2079.             this.f4.Text = "F4";
  2080.             // 
  2081.             // f3
  2082.             // 
  2083.             this.f3.Appearance = System.Windows.Forms.Appearance.Button;
  2084.             this.f3.Location = new System.Drawing.Point(144, 24);
  2085.             this.f3.Name = "f3";
  2086.             this.f3.Size = new System.Drawing.Size(32, 32);
  2087.             this.f3.TabIndex = 3;
  2088.             this.f3.Text = "F3";
  2089.             // 
  2090.             // f2
  2091.             // 
  2092.             this.f2.Appearance = System.Windows.Forms.Appearance.Button;
  2093.             this.f2.Location = new System.Drawing.Point(112, 24);
  2094.             this.f2.Name = "f2";
  2095.             this.f2.Size = new System.Drawing.Size(32, 32);
  2096.             this.f2.TabIndex = 2;
  2097.             this.f2.Text = "F2";
  2098.             // 
  2099.             // f1
  2100.             // 
  2101.             this.f1.Appearance = System.Windows.Forms.Appearance.Button;
  2102.             this.f1.Location = new System.Drawing.Point(80, 24);
  2103.             this.f1.Name = "f1";
  2104.             this.f1.Size = new System.Drawing.Size(32, 32);
  2105.             this.f1.TabIndex = 1;
  2106.             this.f1.Text = "F1";
  2107.             // 
  2108.             // esc
  2109.             // 
  2110.             this.esc.Appearance = System.Windows.Forms.Appearance.Button;
  2111.             this.esc.Location = new System.Drawing.Point(16, 24);
  2112.             this.esc.Name = "esc";
  2113.             this.esc.Size = new System.Drawing.Size(32, 32);
  2114.             this.esc.TabIndex = 0;
  2115.             this.esc.Text = "Esc";
  2116.             // 
  2117.             // pictureBox1
  2118.             // 
  2119.             this.pictureBox1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pictureBox1.BackgroundImage")));
  2120.             this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  2121.             this.pictureBox1.Cursor = System.Windows.Forms.Cursors.Hand;
  2122.             this.pictureBox1.Location = new System.Drawing.Point(639, 24);
  2123.             this.pictureBox1.Name = "pictureBox1";
  2124.             this.pictureBox1.Size = new System.Drawing.Size(130, 34);
  2125.             this.pictureBox1.TabIndex = 99;
  2126.             this.pictureBox1.TabStop = false;
  2127.             this.CZBindToolTip.SetToolTip(this.pictureBox1, "Visit Code Zulu Website");
  2128.             // 
  2129.             // binds_tabPage
  2130.             // 
  2131.             this.binds_tabPage.Controls.Add(this.BindOptions_ListBox);
  2132.             this.binds_tabPage.ImageIndex = 17;
  2133.             this.binds_tabPage.Location = new System.Drawing.Point(4, 4);
  2134.             this.binds_tabPage.Name = "binds_tabPage";
  2135.             this.binds_tabPage.Size = new System.Drawing.Size(392, 273);
  2136.             this.binds_tabPage.TabIndex = 0;
  2137.             this.binds_tabPage.Text = "Buy Scripting";
  2138.             this.CZBindToolTip.SetToolTip(this.binds_tabPage, "Create Cusom Buy Scripts");
  2139.             // 
  2140.             // BindOptions_ListBox
  2141.             // 
  2142.             this.BindOptions_ListBox.BackColor = System.Drawing.SystemColors.Control;
  2143.             this.BindOptions_ListBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
  2144.             this.BindOptions_ListBox.CheckOnClick = true;
  2145.             this.BindOptions_ListBox.ColumnWidth = 150;
  2146.             this.BindOptions_ListBox.Dock = System.Windows.Forms.DockStyle.Fill;
  2147.             this.BindOptions_ListBox.Items.AddRange(new object[] {
  2148.                                                                      "Aug / Sig",
  2149.                                                                      "Auto shotty(xm1014)",
  2150.                                                                      "Awp",
  2151.                                                                      "Colt / Ak",
  2152.                                                                      "Deagle",
  2153.                                                                      "Defuser",
  2154.                                                                      "Dualies(Elites)",
  2155.                                                                      "Famas / Galil",
  2156.                                                                      "Flash",
  2157.                                                                      "Flash(x2)",
  2158.                                                                      "Fn57",
  2159.                                                                      "G3sg1",
  2160.                                                                      "Glock",
  2161.                                                                      "HE Grenade",
  2162.                                                                      "Mac10",
  2163.                                                                      "Mp5",
  2164.                                                                      "Night Vision Goggles",
  2165.                                                                      "P228",
  2166.                                                                      "P90",
  2167.                                                                      "Para(m249)",
  2168.                                                                      "Primary Ammo",
  2169.                                                                      "Scout",
  2170.                                                                      "Secondary Ammo",
  2171.                                                                      "Sg550",
  2172.                                                                      "Shield",
  2173.                                                                      "Shotgun(m3)",
  2174.                                                                      "Smoke Grenade",
  2175.                                                                      "Stop Sound",
  2176.                                                                      "Tmp",
  2177.                                                                      "Ump45",
  2178.                                                                      "Usp",
  2179.                                                                      "Vest",
  2180.                                                                      "Vest & Helmet"});
  2181.             this.BindOptions_ListBox.Location = new System.Drawing.Point(0, 0);
  2182.             this.BindOptions_ListBox.MultiColumn = true;
  2183.             this.BindOptions_ListBox.Name = "BindOptions_ListBox";
  2184.             this.menuBar1.SetSandBarMenu(this.BindOptions_ListBox, this.BindOptions_ContextMenu);
  2185.             this.BindOptions_ListBox.Size = new System.Drawing.Size(392, 270);
  2186.             this.BindOptions_ListBox.Sorted = true;
  2187.             this.BindOptions_ListBox.TabIndex = 0;
  2188.             // 
  2189.             // config_tabPage
  2190.             // 
  2191.             this.config_tabPage.Controls.Add(this.rate);
  2192.             this.config_tabPage.Controls.Add(this.label14);
  2193.             this.config_tabPage.Controls.Add(this.cl_righthand);
  2194.             this.config_tabPage.Controls.Add(this._cl_autoweaponswitch);
  2195.             this.config_tabPage.Controls.Add(this._vgui_menus);
  2196.             this.config_tabPage.Controls.Add(this.groupBox3);
  2197.             this.config_tabPage.Controls.Add(this.Fps_Range);
  2198.             this.config_tabPage.Controls.Add(this.cl_weather);
  2199.             this.config_tabPage.Controls.Add(this.hud_fastswitch);
  2200.             this.config_tabPage.Controls.Add(this.hud_centerID);
  2201.             this.config_tabPage.Controls.Add(this.net_graph_GroupBox);
  2202.             this.config_tabPage.Controls.Add(this.DynamicCrossHairs);
  2203.             this.config_tabPage.Controls.Add(this.label4);
  2204.             this.config_tabPage.Controls.Add(this.PlayerName);
  2205.             this.config_tabPage.Controls.Add(this.label1);
  2206.             this.config_tabPage.Controls.Add(this.consolecolor);
  2207.             this.config_tabPage.Controls.Add(this.consoleColorSample);
  2208.             this.config_tabPage.ImageIndex = 15;
  2209.             this.config_tabPage.Location = new System.Drawing.Point(4, 4);
  2210.             this.config_tabPage.Name = "config_tabPage";
  2211.             this.config_tabPage.Size = new System.Drawing.Size(392, 273);
  2212.             this.config_tabPage.TabIndex = 1;
  2213.             this.config_tabPage.Text = "Config Editor";
  2214.             this.CZBindToolTip.SetToolTip(this.config_tabPage, "Edit your config file settings");
  2215.             this.config_tabPage.Visible = false;
  2216.             // 
  2217.             // groupBox3
  2218.             // 
  2219.             this.groupBox3.Controls.Add(this.net_grappos_2);
  2220.             this.groupBox3.Controls.Add(this.net_grappos_1);
  2221.             this.groupBox3.Controls.Add(this.net_grappos_3);
  2222.             this.groupBox3.Location = new System.Drawing.Point(192, 136);
  2223.             this.groupBox3.Name = "groupBox3";
  2224.             this.groupBox3.Size = new System.Drawing.Size(192, 40);
  2225.             this.groupBox3.TabIndex = 58;
  2226.             this.groupBox3.TabStop = false;
  2227.             this.groupBox3.Text = "Net Graph Location";
  2228.             // 
  2229.             // net_graph_GroupBox
  2230.             // 
  2231.             this.net_graph_GroupBox.Controls.Add(this.net_graph_0);
  2232.             this.net_graph_GroupBox.Controls.Add(this.net_graph_3);
  2233.             this.net_graph_GroupBox.Controls.Add(this.net_graph_2);
  2234.             this.net_graph_GroupBox.Controls.Add(this.net_graph_1);
  2235.             this.net_graph_GroupBox.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  2236.             this.net_graph_GroupBox.Location = new System.Drawing.Point(16, 64);
  2237.             this.net_graph_GroupBox.Name = "net_graph_GroupBox";
  2238.             this.net_graph_GroupBox.RightToLeft = System.Windows.Forms.RightToLeft.No;
  2239.             this.net_graph_GroupBox.Size = new System.Drawing.Size(368, 72);
  2240.             this.net_graph_GroupBox.TabIndex = 54;
  2241.             this.net_graph_GroupBox.TabStop = false;
  2242.             this.net_graph_GroupBox.Text = "Net Graph (Shows Resources In-Game)";
  2243.             // 
  2244.             // say_teamsay_textBox
  2245.             // 
  2246.             this.say_teamsay_textBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  2247.             this.say_teamsay_textBox.Location = new System.Drawing.Point(488, 8);
  2248.             this.say_teamsay_textBox.Name = "say_teamsay_textBox";
  2249.             this.say_teamsay_textBox.Size = new System.Drawing.Size(310, 20);
  2250.             this.say_teamsay_textBox.TabIndex = 42;
  2251.             this.say_teamsay_textBox.Text = "";
  2252.             this.CZBindToolTip.SetToolTip(this.say_teamsay_textBox, "Enter the text to Say or Team Say");
  2253.             // 
  2254.             // say_teamsay_combobox
  2255.             // 
  2256.             this.say_teamsay_combobox.DisplayMember = "0";
  2257.             this.say_teamsay_combobox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  2258.             this.say_teamsay_combobox.Items.AddRange(new object[] {
  2259.                                                                       "Say",
  2260.                                                                       "Team Say"});
  2261.             this.say_teamsay_combobox.Location = new System.Drawing.Point(400, 8);
  2262.             this.say_teamsay_combobox.Name = "say_teamsay_combobox";
  2263.             this.say_teamsay_combobox.Size = new System.Drawing.Size(80, 21);
  2264.             this.say_teamsay_combobox.TabIndex = 41;
  2265.             this.CZBindToolTip.SetToolTip(this.say_teamsay_combobox, "Choose a Say or Team Say command to add to your binds");
  2266.             this.say_teamsay_combobox.ValueMember = "0";
  2267.             // 
  2268.             // CustomBind
  2269.             // 
  2270.             this.CustomBind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  2271.             this.CustomBind.Location = new System.Drawing.Point(104, 8);
  2272.             this.CustomBind.Name = "CustomBind";
  2273.             this.CustomBind.Size = new System.Drawing.Size(288, 20);
  2274.             this.CustomBind.TabIndex = 40;
  2275.             this.CustomBind.Text = "bind \"key\" \"command\"";
  2276.             this.CZBindToolTip.SetToolTip(this.CustomBind, "Click to enter custom binds");
  2277.             this.CustomBind.Leave += new System.EventHandler(this.CustomBind_Leave);
  2278.             this.CustomBind.Enter += new System.EventHandler(this.CustomBind_Enter);
  2279.             // 
  2280.             // label2
  2281.             // 
  2282.             this.label2.Location = new System.Drawing.Point(8, 10);
  2283.             this.label2.Name = "label2";
  2284.             this.label2.Size = new System.Drawing.Size(96, 16);
  2285.             this.label2.TabIndex = 39;
  2286.             this.label2.Text = "Add Custom Bind:";
  2287.             this.CZBindToolTip.SetToolTip(this.label2, "Create custom binds and aliases");
  2288.             // 
  2289.             // ContextMenuImageList
  2290.             // 
  2291.             this.ContextMenuImageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit;
  2292.             this.ContextMenuImageList.ImageSize = new System.Drawing.Size(16, 16);
  2293.             this.ContextMenuImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ContextMenuImageList.ImageStream")));
  2294.             this.ContextMenuImageList.TransparentColor = System.Drawing.Color.Transparent;
  2295.             // 
  2296.             // MainMenuimageList
  2297.             // 
  2298.             this.MainMenuimageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit;
  2299.             this.MainMenuimageList.ImageSize = new System.Drawing.Size(16, 16);
  2300.             this.MainMenuimageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("MainMenuimageList.ImageStream")));
  2301.             this.MainMenuimageList.TransparentColor = System.Drawing.Color.Transparent;
  2302.             // 
  2303.             // panel1
  2304.             // 
  2305.             this.panel1.Controls.Add(this.say_teamsay_textBox);
  2306.             this.panel1.Controls.Add(this.say_teamsay_combobox);
  2307.             this.panel1.Controls.Add(this.CustomBind);
  2308.             this.panel1.Controls.Add(this.label2);
  2309.             this.panel1.Controls.Add(this.main_tabControl);
  2310.             this.panel1.Controls.Add(this.groupBox2);
  2311.             this.panel1.Controls.Add(this.groupBox1);
  2312.             this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
  2313.             this.panel1.Location = new System.Drawing.Point(0, 51);
  2314.             this.panel1.Name = "panel1";
  2315.             this.panel1.Size = new System.Drawing.Size(806, 611);
  2316.             this.panel1.TabIndex = 30;
  2317.             // 
  2318.             // main_tabControl
  2319.             // 
  2320.             this.main_tabControl.Alignment = System.Windows.Forms.TabAlignment.Bottom;
  2321.             this.main_tabControl.Controls.Add(this.binds_tabPage);
  2322.             this.main_tabControl.Controls.Add(this.config_tabPage);
  2323.             this.main_tabControl.ImageList = this.ContextMenuImageList;
  2324.             this.main_tabControl.Location = new System.Drawing.Point(400, 40);
  2325.             this.main_tabControl.Name = "main_tabControl";
  2326.             this.main_tabControl.SelectedIndex = 0;
  2327.             this.main_tabControl.Size = new System.Drawing.Size(400, 300);
  2328.             this.main_tabControl.TabIndex = 36;
  2329.             // 
  2330.             // groupBox2
  2331.             // 
  2332.             this.groupBox2.Controls.Add(this.CurrentBind_ListBox);
  2333.             this.groupBox2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  2334.             this.groupBox2.Location = new System.Drawing.Point(8, 34);
  2335.             this.groupBox2.Name = "groupBox2";
  2336.             this.groupBox2.Size = new System.Drawing.Size(384, 306);
  2337.             this.groupBox2.TabIndex = 31;
  2338.             this.groupBox2.TabStop = false;
  2339.             this.groupBox2.Tag = "Shows ";
  2340.             this.groupBox2.Text = "Current Bind Settings";
  2341.             // 
  2342.             // sandBarManager1
  2343.             // 
  2344.             this.sandBarManager1.BottomContainer = this.bottomSandBarDock;
  2345.             this.sandBarManager1.LeftContainer = this.leftSandBarDock;
  2346.             this.sandBarManager1.OwnerForm = this;
  2347.             this.sandBarManager1.RightContainer = this.rightSandBarDock;
  2348.             this.sandBarManager1.TopContainer = this.topSandBarDock;
  2349.             // 
  2350.             // bottomSandBarDock
  2351.             // 
  2352.             this.bottomSandBarDock.Dock = System.Windows.Forms.DockStyle.Bottom;
  2353.             this.bottomSandBarDock.Location = new System.Drawing.Point(0, 662);
  2354.             this.bottomSandBarDock.Manager = this.sandBarManager1;
  2355.             this.bottomSandBarDock.Name = "bottomSandBarDock";
  2356.             this.bottomSandBarDock.Size = new System.Drawing.Size(806, 0);
  2357.             this.bottomSandBarDock.TabIndex = 33;
  2358.             // 
  2359.             // leftSandBarDock
  2360.             // 
  2361.             this.leftSandBarDock.Dock = System.Windows.Forms.DockStyle.Left;
  2362.             this.leftSandBarDock.Location = new System.Drawing.Point(0, 51);
  2363.             this.leftSandBarDock.Manager = this.sandBarManager1;
  2364.             this.leftSandBarDock.Name = "leftSandBarDock";
  2365.             this.leftSandBarDock.Size = new System.Drawing.Size(0, 611);
  2366.             this.leftSandBarDock.TabIndex = 31;
  2367.             // 
  2368.             // rightSandBarDock
  2369.             // 
  2370.             this.rightSandBarDock.Dock = System.Windows.Forms.DockStyle.Right;
  2371.             this.rightSandBarDock.Location = new System.Drawing.Point(806, 51);
  2372.             this.rightSandBarDock.Manager = this.sandBarManager1;
  2373.             this.rightSandBarDock.Name = "rightSandBarDock";
  2374.             this.rightSandBarDock.Size = new System.Drawing.Size(0, 611);
  2375.             this.rightSandBarDock.TabIndex = 32;
  2376.             // 
  2377.             // topSandBarDock
  2378.             // 
  2379.             this.topSandBarDock.Controls.Add(this.menuBar1);
  2380.             this.topSandBarDock.Controls.Add(this.toolBar1);
  2381.             this.topSandBarDock.Dock = System.Windows.Forms.DockStyle.Top;
  2382.             this.topSandBarDock.Location = new System.Drawing.Point(0, 0);
  2383.             this.topSandBarDock.Manager = this.sandBarManager1;
  2384.             this.topSandBarDock.Name = "topSandBarDock";
  2385.             this.topSandBarDock.Size = new System.Drawing.Size(806, 51);
  2386.             this.topSandBarDock.TabIndex = 34;
  2387.             // 
  2388.             // menuBar1
  2389.             // 
  2390.             this.menuBar1.AllowVerticalDock = false;
  2391.             this.menuBar1.Buttons.AddRange(new TD.SandBar.ToolbarItemBase[] {
  2392.                                                                                 this.file_menuItem,
  2393.                                                                                 this.edit_menuItem,
  2394.                                                                                 this.help_menuItem,
  2395.                                                                                 this.KeyboardLayout_ContextMenu,
  2396.                                                                                 this.CurrentBind_ContextMenu,
  2397.                                                                                 this.BindOptions_ContextMenu,
  2398.                                                                                 this.help_ContextMenu});
  2399.             this.menuBar1.Guid = new System.Guid("38a3520f-8bee-48c8-9bcf-3d26b950b108");
  2400.             this.menuBar1.ImageList = this.MainMenuimageList;
  2401.             this.menuBar1.Location = new System.Drawing.Point(2, 0);
  2402.             this.menuBar1.Name = "menuBar1";
  2403.             this.menuBar1.Size = new System.Drawing.Size(806, 24);
  2404.             this.menuBar1.TabIndex = 1;
  2405.             // 
  2406.             // CurrentBind_ContextMenu
  2407.             // 
  2408.             this.CurrentBind_ContextMenu.Icon = null;
  2409.             this.CurrentBind_ContextMenu.MenuItems.AddRange(new TD.SandBar.MenuButtonItem[] {
  2410.                                                                                                 this.old_DeleteBind_option,
  2411.                                                                                                 this.old_SaveExit_option});
  2412.             this.CurrentBind_ContextMenu.Text = "CurrentBind_ContextMenu";
  2413.             this.CurrentBind_ContextMenu.Visible = false;
  2414.             // 
  2415.             // old_DeleteBind_option
  2416.             // 
  2417.             this.old_DeleteBind_option.Icon = null;
  2418.             this.old_DeleteBind_option.ImageIndex = 12;
  2419.             this.old_DeleteBind_option.Shortcut = System.Windows.Forms.Shortcut.None;
  2420.             this.old_DeleteBind_option.Text = "&Delete this Bind";
  2421.             this.old_DeleteBind_option.Activate += new TD.SandBar.MenuButtonItem.ActivateEventHandler(this.DeleteBind_option_Click);
  2422.             // 
  2423.             // old_SaveExit_option
  2424.             // 
  2425.             this.old_SaveExit_option.Icon = null;
  2426.             this.old_SaveExit_option.ImageIndex = 0;
  2427.             this.old_SaveExit_option.Shortcut = System.Windows.Forms.Shortcut.None;
  2428.             this.old_SaveExit_option.Text = "&Save Binds";
  2429.             this.old_SaveExit_option.Activate += new TD.SandBar.MenuButtonItem.ActivateEventHandler(this.Save_Click);
  2430.             // 
  2431.             // KeyboardLayout_ContextMenu
  2432.             // 
  2433.             this.KeyboardLayout_ContextMenu.Icon = null;
  2434.             this.KeyboardLayout_ContextMenu.MenuItems.AddRange(new TD.SandBar.MenuButtonItem[] {
  2435.                                                                                                    this.old_bindkey_option,
  2436.                                                                                                    this.old_uncheckbuttons_option});
  2437.             this.KeyboardLayout_ContextMenu.Text = "KeyboardLayout_ContextMenu";
  2438.             this.KeyboardLayout_ContextMenu.Visible = false;
  2439.             // 
  2440.             // old_bindkey_option
  2441.             // 
  2442.             this.old_bindkey_option.Icon = null;
  2443.             this.old_bindkey_option.ImageIndex = 10;
  2444.             this.old_bindkey_option.Shortcut = System.Windows.Forms.Shortcut.None;
  2445.             this.old_bindkey_option.Text = "Bind Key";
  2446.             this.old_bindkey_option.Activate += new TD.SandBar.MenuButtonItem.ActivateEventHandler(this.AddBind_button_Click);
  2447.             // 
  2448.             // old_uncheckbuttons_option
  2449.             // 
  2450.             this.old_uncheckbuttons_option.Icon = null;
  2451.             this.old_uncheckbuttons_option.ImageIndex = 14;
  2452.             this.old_uncheckbuttons_option.Shortcut = System.Windows.Forms.Shortcut.None;
  2453.             this.old_uncheckbuttons_option.Text = "Uncheck Button";
  2454.             this.old_uncheckbuttons_option.Activate += new TD.SandBar.MenuButtonItem.ActivateEventHandler(this.Uncheckbuttons_option_Click);
  2455.             // 
  2456.             // BindOptions_ContextMenu
  2457.             // 
  2458.             this.BindOptions_ContextMenu.Icon = null;
  2459.             this.BindOptions_ContextMenu.MenuItems.AddRange(new TD.SandBar.MenuButtonItem[] {
  2460.                                                                                                 this.old_AddSelectedBinds_option,
  2461.                                                                                                 this.old_ClearAllBinds_option});
  2462.             this.BindOptions_ContextMenu.Text = "BindOptions_ContextMenu";
  2463.             this.BindOptions_ContextMenu.Visible = false;
  2464.             // 
  2465.             // old_AddSelectedBinds_option
  2466.             // 
  2467.             this.old_AddSelectedBinds_option.Icon = null;
  2468.             this.old_AddSelectedBinds_option.ImageIndex = 17;
  2469.             this.old_AddSelectedBinds_option.Shortcut = System.Windows.Forms.Shortcut.None;
  2470.             this.old_AddSelectedBinds_option.Text = "Add Binds";
  2471.             this.old_AddSelectedBinds_option.Activate += new TD.SandBar.MenuButtonItem.ActivateEventHandler(this.AddBind_button_Click);
  2472.             // 
  2473.             // old_ClearAllBinds_option
  2474.             // 
  2475.             this.old_ClearAllBinds_option.Icon = null;
  2476.             this.old_ClearAllBinds_option.ImageIndex = 14;
  2477.             this.old_ClearAllBinds_option.Shortcut = System.Windows.Forms.Shortcut.None;
  2478.             this.old_ClearAllBinds_option.Text = "Uncheck All";
  2479.             this.old_ClearAllBinds_option.Activate += new TD.SandBar.MenuButtonItem.ActivateEventHandler(this.ClearSelectedBinds_Click);
  2480.             // 
  2481.             // file_menuItem
  2482.             // 
  2483.             this.file_menuItem.Icon = null;
  2484.             this.file_menuItem.MenuItems.AddRange(new TD.SandBar.MenuButtonItem[] {
  2485.                                                                                       this.save_menuItem,
  2486.                                                                                       this.open_menuItem,
  2487.                                                                                       this.exit_menuItem});
  2488.             this.file_menuItem.Text = "&File";
  2489.             // 
  2490.             // save_menuItem
  2491.             // 
  2492.             this.save_menuItem.Icon = null;
  2493.             this.save_menuItem.ImageIndex = 0;
  2494.             this.save_menuItem.Shortcut = System.Windows.Forms.Shortcut.CtrlS;
  2495.             this.save_menuItem.Text = "&Save Binds";
  2496.             this.save_menuItem.Activate += new TD.SandBar.MenuButtonItem.ActivateEventHandler(this.Save_Click);
  2497.             // 
  2498.             // open_menuItem
  2499.             // 
  2500.             this.open_menuItem.Icon = null;
  2501.             this.open_menuItem.ImageIndex = 1;
  2502.             this.open_menuItem.Shortcut = System.Windows.Forms.Shortcut.CtrlO;
  2503.             this.open_menuItem.Text = "&Open New Config File";
  2504.             this.open_menuItem.Activate += new TD.SandBar.MenuButtonItem.ActivateEventHandler(this.Config_option_Click);
  2505.             // 
  2506.             // exit_menuItem
  2507.             // 
  2508.             this.exit_menuItem.BeginGroup = true;
  2509.             this.exit_menuItem.Icon = null;
  2510.             this.exit_menuItem.ImageIndex = 2;
  2511.             this.exit_menuItem.Shortcut = System.Windows.Forms.Shortcut.AltF4;
  2512.             this.exit_menuItem.Text = "E&xit";
  2513.             this.exit_menuItem.Activate += new TD.SandBar.MenuButtonItem.ActivateEventHandler(this.Exit_option_Click);
  2514.             // 
  2515.             // edit_menuItem
  2516.             // 
  2517.             this.edit_menuItem.Icon = null;
  2518.             this.edit_menuItem.MenuItems.AddRange(new TD.SandBar.MenuButtonItem[] {
  2519.                                                                                       this.Edit_files_menuItem,
  2520.                                                                                       this.give_menuItem,
  2521.                                                                                       this.showTips_menuItem});
  2522.             this.edit_menuItem.Text = "&Edit";
  2523.             // 
  2524.             // Edit_files_menuItem
  2525.             // 
  2526.             this.Edit_files_menuItem.Icon = null;
  2527.             this.Edit_files_menuItem.ImageIndex = 18;
  2528.             this.Edit_files_menuItem.MenuItems.AddRange(new TD.SandBar.MenuButtonItem[] {
  2529.                                                                                             this.config_menuItem,
  2530.                                                                                             this.autoexec_menuItem,
  2531.                                                                                             this.userConfig_menuItem,
  2532.                                                                                             this.czbind_menuItem});
  2533.             this.Edit_files_menuItem.Shortcut = System.Windows.Forms.Shortcut.None;
  2534.             this.Edit_files_menuItem.Text = "Open in &Notepad";
  2535.             // 
  2536.             // config_menuItem
  2537.             // 
  2538.             this.config_menuItem.Icon = null;
  2539.             this.config_menuItem.ImageIndex = 19;
  2540.             this.config_menuItem.Shortcut = System.Windows.Forms.Shortcut.None;
  2541.             this.config_menuItem.Text = "Config.cfg";
  2542.             this.config_menuItem.Activate += new TD.SandBar.MenuButtonItem.ActivateEventHandler(this.config_menuItem_Activate);
  2543.             // 
  2544.             // autoexec_menuItem
  2545.             // 
  2546.             this.autoexec_menuItem.Icon = null;
  2547.             this.autoexec_menuItem.ImageIndex = 19;
  2548.             this.autoexec_menuItem.Shortcut = System.Windows.Forms.Shortcut.None;
  2549.             this.autoexec_menuItem.Text = "Autoexec.cfg";
  2550.             this.autoexec_menuItem.Activate += new TD.SandBar.MenuButtonItem.ActivateEventHandler(this.autoexec_menuItem_Activate);
  2551.             // 
  2552.             // userConfig_menuItem
  2553.             // 
  2554.             this.userConfig_menuItem.Icon = null;
  2555.             this.userConfig_menuItem.ImageIndex = 19;
  2556.             this.userConfig_menuItem.Shortcut = System.Windows.Forms.Shortcut.None;
  2557.             this.userConfig_menuItem.Text = "UserConfig.cfg";
  2558.             this.userConfig_menuItem.Activate += new TD.SandBar.MenuButtonItem.ActivateEventHandler(this.userConfig_menuItem_Activate);
  2559.             // 
  2560.             // czbind_menuItem
  2561.             // 
  2562.             this.czbind_menuItem.Icon = null;
  2563.             this.czbind_menuItem.ImageIndex = 19;
  2564.             this.czbind_menuItem.Shortcut = System.Windows.Forms.Shortcut.None;
  2565.             this.czbind_menuItem.Text = "CZBind.cfg";
  2566.             this.czbind_menuItem.Activate += new TD.SandBar.MenuButtonItem.ActivateEventHandler(this.czbind_menuItem_Activate);
  2567.             // 
  2568.             // give_menuItem
  2569.             // 
  2570.             this.give_menuItem.Icon = ((System.Drawing.Icon)(resources.GetObject("give_menuItem.Icon")));
  2571.             this.give_menuItem.MenuItems.AddRange(new TD.SandBar.MenuButtonItem[] {
  2572.                                                                                       this.feedback_menuItem,
  2573.                                                                                       this.menuButtonItem1});
  2574.             this.give_menuItem.Shortcut = System.Windows.Forms.Shortcut.None;
  2575.             this.give_menuItem.Text = "Visit the Website";
  2576.             // 
  2577.             // feedback_menuItem
  2578.             // 
  2579.             this.feedback_menuItem.Icon = ((System.Drawing.Icon)(resources.GetObject("feedback_menuItem.Icon")));
  2580.             this.feedback_menuItem.Shortcut = System.Windows.Forms.Shortcut.None;
  2581.             this.feedback_menuItem.Text = "Give Feedback";
  2582.             this.feedback_menuItem.Activate += new TD.SandBar.MenuButtonItem.ActivateEventHandler(this.feedback_menuItem_Activate);
  2583.             // 
  2584.             // menuButtonItem1
  2585.             // 
  2586.             this.menuButtonItem1.Icon = ((System.Drawing.Icon)(resources.GetObject("menuButtonItem1.Icon")));
  2587.             this.menuButtonItem1.Shortcut = System.Windows.Forms.Shortcut.None;
  2588.             this.menuButtonItem1.Text = "Request A New Feature";
  2589.             this.menuButtonItem1.Activate += new TD.SandBar.MenuButtonItem.ActivateEventHandler(this.menuButtonItem1_Activate);
  2590.             // 
  2591.             // showTips_menuItem
  2592.             // 
  2593.             this.showTips_menuItem.BeginGroup = true;
  2594.             this.showTips_menuItem.Checked = true;
  2595.             this.showTips_menuItem.Icon = null;
  2596.             this.showTips_menuItem.Shortcut = System.Windows.Forms.Shortcut.CtrlT;
  2597.             this.showTips_menuItem.Text = "Show &Tool Tips";
  2598.             this.showTips_menuItem.Activate += new TD.SandBar.MenuButtonItem.ActivateEventHandler(this.showTips_menuItem_Activate);
  2599.             // 
  2600.             // help_menuItem
  2601.             // 
  2602.             this.help_menuItem.Icon = null;
  2603.             this.help_menuItem.MenuItems.AddRange(new TD.SandBar.MenuButtonItem[] {
  2604.                                                                                       this.getHelp_menuItem,
  2605.                                                                                       this.about_menuItem});
  2606.             this.help_menuItem.Text = "&Help";
  2607.             // 
  2608.             // getHelp_menuItem
  2609.             // 
  2610.             this.getHelp_menuItem.Icon = null;
  2611.             this.getHelp_menuItem.ImageIndex = 3;
  2612.             this.getHelp_menuItem.Shortcut = System.Windows.Forms.Shortcut.F1;
  2613.             this.getHelp_menuItem.Text = "&Get Help";
  2614.             this.getHelp_menuItem.Activate += new TD.SandBar.MenuButtonItem.ActivateEventHandler(this.Helpme_option_Click);
  2615.             // 
  2616.             // about_menuItem
  2617.             // 
  2618.             this.about_menuItem.Icon = null;
  2619.             this.about_menuItem.ImageIndex = 4;
  2620.             this.about_menuItem.Shortcut = System.Windows.Forms.Shortcut.CtrlA;
  2621.             this.about_menuItem.Text = "&About CZ Bind Maker";
  2622.             this.about_menuItem.Activate += new TD.SandBar.MenuButtonItem.ActivateEventHandler(this.About_option_Click);
  2623.             // 
  2624.             // help_ContextMenu
  2625.             // 
  2626.             this.help_ContextMenu.Icon = null;
  2627.             this.help_ContextMenu.MenuItems.AddRange(new TD.SandBar.MenuButtonItem[] {
  2628.                                                                                          this.old_menuItem1,
  2629.                                                                                          this.old_menuItem2});
  2630.             this.help_ContextMenu.Text = "help_ContextMenu";
  2631.             this.help_ContextMenu.Visible = false;
  2632.             // 
  2633.             // old_menuItem1
  2634.             // 
  2635.             this.old_menuItem1.Icon = null;
  2636.             this.old_menuItem1.ImageIndex = 15;
  2637.             this.old_menuItem1.Shortcut = System.Windows.Forms.Shortcut.None;
  2638.             this.old_menuItem1.Text = "Get Help";
  2639.             this.old_menuItem1.Activate += new TD.SandBar.MenuButtonItem.ActivateEventHandler(this.Helpme_option_Click);
  2640.             // 
  2641.             // old_menuItem2
  2642.             // 
  2643.             this.old_menuItem2.Icon = null;
  2644.             this.old_menuItem2.ImageIndex = 13;
  2645.             this.old_menuItem2.Shortcut = System.Windows.Forms.Shortcut.None;
  2646.             this.old_menuItem2.Text = "About CZ Bind Maker";
  2647.             this.old_menuItem2.Activate += new TD.SandBar.MenuButtonItem.ActivateEventHandler(this.About_option_Click);
  2648.             // 
  2649.             // toolBar1
  2650.             // 
  2651.             this.toolBar1.AllowVerticalDock = false;
  2652.             this.toolBar1.Buttons.AddRange(new TD.SandBar.ToolbarItemBase[] {
  2653.                                                                                 this.NewButton,
  2654.                                                                                 this.OpenButton,
  2655.                                                                                 this.AboutButton,
  2656.                                                                                 this.DeleteBind,
  2657.                                                                                 this.AddBind_button1,
  2658.                                                                                 this.SaveButton,
  2659.                                                                                 this.radioCommand_comboBoxItem});
  2660.             this.toolBar1.Closable = false;
  2661.             this.toolBar1.DockLine = 1;
  2662.             this.toolBar1.Guid = new System.Guid("fdc83a7d-c2f5-4b61-b70a-d84f487e5d23");
  2663.             this.toolBar1.ImageList = this.MainMenuimageList;
  2664.             this.toolBar1.Location = new System.Drawing.Point(2, 24);
  2665.             this.toolBar1.Name = "toolBar1";
  2666.             this.toolBar1.Size = new System.Drawing.Size(780, 27);
  2667.             this.toolBar1.TabIndex = 0;
  2668.             // 
  2669.             // NewButton
  2670.             // 
  2671.             this.NewButton.BuddyMenu = this.save_menuItem;
  2672.             this.NewButton.Icon = null;
  2673.             this.NewButton.ImageIndex = 5;
  2674.             this.NewButton.Text = "&New Bind";
  2675.             this.NewButton.ToolTipText = "Create a new bind";
  2676.             // 
  2677.             // OpenButton
  2678.             // 
  2679.             this.OpenButton.BuddyMenu = this.open_menuItem;
  2680.             this.OpenButton.Icon = null;
  2681.             this.OpenButton.ImageIndex = 1;
  2682.             this.OpenButton.Text = "&Open Config";
  2683.             this.OpenButton.ToolTipText = "Open a new config file";
  2684.             // 
  2685.             // AboutButton
  2686.             // 
  2687.             this.AboutButton.BeginGroup = true;
  2688.             this.AboutButton.BuddyMenu = this.about_menuItem;
  2689.             this.AboutButton.Icon = null;
  2690.             this.AboutButton.ImageIndex = 4;
  2691.             this.AboutButton.Text = "&About";
  2692.             this.AboutButton.ToolTipText = "About CZ Bind Maker";
  2693.             // 
  2694.             // DeleteBind
  2695.             // 
  2696.             this.DeleteBind.BeginGroup = true;
  2697.             this.DeleteBind.BuddyMenu = this.old_DeleteBind_option;
  2698.             this.DeleteBind.Icon = null;
  2699.             this.DeleteBind.ImageIndex = 12;
  2700.             this.DeleteBind.Text = "&Delete Bind";
  2701.             this.DeleteBind.ToolTipText = "Remove the selected bind from your config file";
  2702.             // 
  2703.             // AddBind_button1
  2704.             // 
  2705.             this.AddBind_button1.BuddyMenu = this.old_AddSelectedBinds_option;
  2706.             this.AddBind_button1.Icon = null;
  2707.             this.AddBind_button1.ImageIndex = 17;
  2708.             this.AddBind_button1.Text = "Add &Binds";
  2709.             this.AddBind_button1.ToolTipText = "Add the selected binds to your config file";
  2710.             // 
  2711.             // SaveButton
  2712.             // 
  2713.             this.SaveButton.BuddyMenu = this.save_menuItem;
  2714.             this.SaveButton.Icon = null;
  2715.             this.SaveButton.ImageIndex = 0;
  2716.             this.SaveButton.Text = "&Save Binds";
  2717.             this.SaveButton.ToolTipText = "Save everything to your config file";
  2718.             // 
  2719.             // radioCommand_comboBoxItem
  2720.             // 
  2721.             this.radioCommand_comboBoxItem.BeginGroup = true;
  2722.             this.radioCommand_comboBoxItem.ControlWidth = 150;
  2723.             this.radioCommand_comboBoxItem.DefaultText = "Choose";
  2724.             this.radioCommand_comboBoxItem.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  2725.             this.radioCommand_comboBoxItem.Items.AddRange(new object[] {
  2726.                                                                            "Cover me",
  2727.                                                                            "You take the point",
  2728.                                                                            "Hold this position",
  2729.                                                                            "Re-group team",
  2730.                                                                            "Follow me",
  2731.                                                                            "Taking fire",
  2732.                                                                            "Go Go Go",
  2733.                                                                            "Fall back",
  2734.                                                                            "Stick together team",
  2735.                                                                            "Get in position",
  2736.                                                                            "Storm the front",
  2737.                                                                            "Report in team",
  2738.                                                                            "Roger that/ Affirmative",
  2739.                                                                            "Enemy spotted",
  2740.                                                                            "Need backup",
  2741.                                                                            "Sector clear",
  2742.                                                                            "I\'m in position",
  2743.                                                                            "Reporting in",
  2744.                                                                            "Get out of there",
  2745.                                                                            "Negative",
  2746.                                                                            "Enemy down"});
  2747.             this.radioCommand_comboBoxItem.Padding.Left = 1;
  2748.             this.radioCommand_comboBoxItem.Padding.Right = 1;
  2749.             this.radioCommand_comboBoxItem.Text = "Radio Commands";
  2750.             this.radioCommand_comboBoxItem.ToolTipText = "Add a radio command";
  2751.             // 
  2752.             // CZBindMakerMainForm
  2753.             // 
  2754.             this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
  2755.             this.ClientSize = new System.Drawing.Size(806, 662);
  2756.             this.Controls.Add(this.panel1);
  2757.             this.Controls.Add(this.leftSandBarDock);
  2758.             this.Controls.Add(this.rightSandBarDock);
  2759.             this.Controls.Add(this.bottomSandBarDock);
  2760.             this.Controls.Add(this.topSandBarDock);
  2761.             this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
  2762.             this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  2763.             this.MaximizeBox = false;
  2764.             this.Name = "CZBindMakerMainForm";
  2765.             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  2766.             this.Text = "   CZ Bind Maker For Counter-Strike 1.6";
  2767.             ((System.ComponentModel.ISupportInitialize)(this.rate)).EndInit();
  2768.             ((System.ComponentModel.ISupportInitialize)(this.Fps_Range)).EndInit();
  2769.             this.groupBox1.ResumeLayout(false);
  2770.             this.binds_tabPage.ResumeLayout(false);
  2771.             this.config_tabPage.ResumeLayout(false);
  2772.             this.groupBox3.ResumeLayout(false);
  2773.             this.net_graph_GroupBox.ResumeLayout(false);
  2774.             this.panel1.ResumeLayout(false);
  2775.             this.main_tabControl.ResumeLayout(false);
  2776.             this.groupBox2.ResumeLayout(false);
  2777.             this.topSandBarDock.ResumeLayout(false);
  2778.             this.ResumeLayout(false);
  2779.  
  2780.         }
  2781.         #endregion
  2782.  
  2783.         /// <summary>
  2784.         /// The main entry point for the application.
  2785.         /// </summary>
  2786.         [STAThread]
  2787.         static void Main() 
  2788.         {
  2789.             #region
  2790.             if(Process.GetProcessesByName("CZBindMaker").Length > 1)
  2791.             {
  2792.                 MessageBox.Show("CZ Bind Maker is already running\n\nOnly one open at a time.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
  2793.             }
  2794.             else
  2795.             {
  2796.                 Application.EnableVisualStyles();
  2797.                 Application.Run(new CZBindMakerMainForm());
  2798.             }
  2799.             #endregion
  2800.         }
  2801.  
  2802.         /// <summary>
  2803.         /// Loads the user preferences for CZBindMaker if it exists.  If not, get the path info and write the file.
  2804.         /// </summary>
  2805.         private void InitializeData()
  2806.         {
  2807.             #region
  2808.             bool errorFlag = false;
  2809.             // IF THE USER PREFERENCES HAVE BEEN SET, LOAD THEM AND CONTINUE
  2810.             if(this.ConfigFilePath.CurrentValue != "" && this.BindFilePath.CurrentValue != "" && this.UserConfigPath.CurrentValue != "")
  2811.             {
  2812.                 this.m_bindFilePath = this.BindFilePath.CurrentValue;
  2813.                 this.m_configFilePath = this.ConfigFilePath.CurrentValue;
  2814.                 this.m_userFilePath = this.UserConfigPath.CurrentValue;
  2815.                 if(this.ToolTipsEnabled.CurrentValue != "false")
  2816.                     this.CZBindToolTip.Active = true;
  2817.                 else
  2818.                     this.CZBindToolTip.Active = false;
  2819.             }
  2820.  
  2821.             // IF THIS IS THE FIRST TIME RUNNING THE PROGRAM, SET THE USER PREFERENCES
  2822.             if(this.ConfigFilePath.CurrentValue == "" && this.BindFilePath.CurrentValue == "" && this.UserConfigPath.CurrentValue == "")
  2823.             {
  2824.                 bool continueFlag = false; // used in determining whether to continue through the directory search
  2825.                 string workingPath = "";
  2826.                 try
  2827.                 {
  2828.                     DirectoryInfo d = new DirectoryInfo(this.m_rKey.GetValue("InstallPath").ToString());
  2829.                     DirectoryInfo[] list = d.GetDirectories();
  2830.                     if(list.Length >= 1) // IF THE "SteamApps" DIRECTORY EXISTS
  2831.                     {
  2832.                         foreach(DirectoryInfo dir in list)
  2833.                             if(Regex.Match(dir.Name, ".*SteamApps.*", RegexOptions.IgnoreCase).Success)
  2834.                             {
  2835.                                 workingPath = dir.FullName;
  2836.                                 continueFlag = true;
  2837.                             }
  2838.                     }
  2839.                     if(continueFlag && workingPath != "") // GET THE EMAIL ADDRESS
  2840.                     {
  2841.                         d = new DirectoryInfo(workingPath);
  2842.                         list = d.GetDirectories();
  2843.                         if(list.Length == 1) // IF ONLY 1 EMAIL ADDRESS IS PRESENT
  2844.                         {
  2845.                             workingPath += "\\"+list[0].ToString();
  2846.                         
  2847.                         }
  2848.                         else if(list.Length > 1) // IF MULITPLE EMAIL ADDRESSES ARE PRESENT, SELECT THE RIGHT ONE
  2849.                         {
  2850.                             // open up the account chooser
  2851.  
  2852.                             AccountChooser ac = new AccountChooser(list);
  2853.                             if(ac.ShowDialog(this) == DialogResult.OK)
  2854.                             {
  2855.                                 // email address selected
  2856.                                 workingPath += "\\"+CZBindMaker.CZBindMakerMainForm.m_configTransferPath;
  2857.                             }
  2858.                             if(ac.DialogResult != DialogResult.OK)
  2859.                             {
  2860.                                 // email address not selected
  2861.                                 errorFlag = true;
  2862.                             }
  2863.                         }
  2864.                         else
  2865.                             continueFlag = false;
  2866.                     }
  2867.                     if(continueFlag && workingPath != "") // GET THE "counter-strike" DIRECTORY
  2868.                     {
  2869.                         continueFlag = false;
  2870.                         d = new DirectoryInfo(workingPath);
  2871.                         list = d.GetDirectories();
  2872.                         if(list.Length >= 1)
  2873.                         {
  2874.                             foreach(DirectoryInfo dir in list)
  2875.                                 if(Regex.Match(dir.Name, ".*counter-strike.*", RegexOptions.IgnoreCase).Success)
  2876.                                 {
  2877.                                     workingPath += "\\"+dir.Name;
  2878.                                     continueFlag = true;
  2879.                                 }
  2880.                         }
  2881.                         else
  2882.                             continueFlag = false;
  2883.                     }
  2884.                     if(continueFlag && workingPath != "") // GET THE "cstrike" DIRECTORY IN ANY LANGUAGE
  2885.                     {
  2886.                         continueFlag = false;
  2887.                         d = new DirectoryInfo(workingPath);
  2888.                         list = d.GetDirectories();
  2889.                         if(list.Length >= 1)
  2890.                         {
  2891.                             foreach(DirectoryInfo dir in list)
  2892.                                 if(Regex.Match(dir.Name, ".*cstrike.*", RegexOptions.IgnoreCase).Success)
  2893.                                 {
  2894.                                     workingPath += "\\"+dir.Name;
  2895.                                     continueFlag = true;
  2896.                                 }
  2897.                         }
  2898.                         else
  2899.                             continueFlag = false;
  2900.                     }
  2901.                     if(File.Exists(workingPath+"\\config.cfg"))
  2902.                     {
  2903.                         this.m_configFilePath = workingPath+"\\config.cfg";
  2904.                         this.ConfigFilePath.CurrentValue = this.m_configFilePath;
  2905.                         this.m_bindFilePath = workingPath+"\\czbind.cfg";
  2906.                         this.BindFilePath.CurrentValue = this.m_bindFilePath;
  2907.                         this.m_userFilePath = workingPath+"\\userconfig.cfg";
  2908.                         this.UserConfigPath.CurrentValue = this.m_userFilePath;
  2909.                         this.UserPreferencesSettingContainer.Write();
  2910.                     }
  2911.                     else
  2912.                     {
  2913.                         this.m_configFilePath = "";
  2914.                         this.ConfigFilePath.CurrentValue = this.m_configFilePath;
  2915.                         this.m_bindFilePath = "";
  2916.                         this.BindFilePath.CurrentValue = this.m_bindFilePath;
  2917.                         this.m_userFilePath = "";
  2918.                         this.UserConfigPath.CurrentValue = this.m_userFilePath;
  2919.                         this.UserPreferencesSettingContainer.Write();
  2920.                         MessageBox.Show("Failed to find the Steam Directory!\n\nYou will need to locate the file youself.", "Error Could not find the steam program folder",MessageBoxButtons.OK,MessageBoxIcon.Error);
  2921.                         errorFlag = true;
  2922.                     }
  2923.                 }
  2924.                 catch(Exception e)
  2925.                 {
  2926.                     e.ToString();
  2927.                     MessageBox.Show("CZ Bind Maker failed to find the Steam Directory!\n\nYou will need to locate the file youself.\n\nA file dialog box will now open and you can select it yourself", "Couldn't locate the config file",MessageBoxButtons.OK,MessageBoxIcon.Information);
  2928.                     errorFlag = true;
  2929.                 }
  2930.                 if(errorFlag)
  2931.                 {
  2932.                     // IF NONE FOUND OPEN DIALOG AND GET USER SETTINGS
  2933.                     this.ConfigFileFinder.InitialDirectory = workingPath;
  2934.                     if(this.ConfigFileFinder.ShowDialog(this) == DialogResult.OK)
  2935.                     {
  2936.                         this.m_configFilePath = this.ConfigFileFinder.FileName;
  2937.                         MessageBox.Show(this.ConfigFileFinder.FileName+"\n"+Regex.Replace(this.m_configFilePath, @"config.cfg","czbind.cfg",RegexOptions.IgnoreCase)+"\n"+Regex.Replace(this.m_configFilePath, @"config.cfg","userconfig.cfg",RegexOptions.IgnoreCase));
  2938.                         this.ConfigFilePath.CurrentValue = this.m_configFilePath;
  2939.                         this.m_bindFilePath = Regex.Replace(this.m_configFilePath, @"config.cfg","czbind.cfg",RegexOptions.IgnoreCase);
  2940.                         this.BindFilePath.CurrentValue = this.m_bindFilePath;
  2941.                         this.m_userFilePath = Regex.Replace(this.m_configFilePath, @"config.cfg","userconfig.cfg",RegexOptions.IgnoreCase);
  2942.                         this.UserConfigPath.CurrentValue = this.m_userFilePath;
  2943.                         this.UserPreferencesSettingContainer.Write();
  2944.                         errorFlag = false;
  2945.                     }
  2946.                         // CASE: USER HIT CANCEL ON THE CONFIGURATION DIALOG
  2947.                     else
  2948.                     {
  2949.                         this.m_configFilePath = "";
  2950.                         this.m_bindFilePath = "";
  2951.                         this.m_userFilePath = "";
  2952.                         this.UserPreferencesSettingContainer.Write();
  2953.                         MessageBox.Show("You have to select your config file before you can save your custom binds!", "Can't save without a config file",MessageBoxButtons.OK,MessageBoxIcon.Information);
  2954.                     }
  2955.                 }
  2956.             }
  2957.             if(!errorFlag)
  2958.             {
  2959.                 this.LoadConfigFile();
  2960.             }
  2961.             #endregion
  2962.         }
  2963.         /// <summary>
  2964.         /// Load the Config.cfg file from a file dialog box
  2965.         /// </summary>
  2966.         /// <param name="path">The Config File Path</param>
  2967.         /// <param name="init">
  2968.         /// Is this the initial loading of the document? If so, It will check
  2969.         /// to make sure that the <b>exec czbind.cfg</b> is included in the 
  2970.         /// <b>config.cfg</b>.  Not needed if the config file is reloaded during 
  2971.         /// runtime.
  2972.         /// </param>
  2973.         private void LoadConfigFile()
  2974.         {
  2975.             #region
  2976.             string temp;
  2977.             string[] split;
  2978.             bool contFlag = true;
  2979.             // READ THE CONTENTS OF THE CONFIG FILE INTO THE CONFIGFILECONTENTS STRING
  2980.             #region DONE
  2981.             try
  2982.             {
  2983.                 if(!File.Exists(Regex.Replace(this.m_configFilePath, "config.cfg", "config_backup.cfg")))
  2984.                     File.Copy(this.m_configFilePath, Regex.Replace(this.m_configFilePath, "config.cfg", "config_backup.cfg"));
  2985.                 m_reader = new StreamReader(this.m_configFilePath);
  2986.                 this.m_configFileContents = m_reader.ReadToEnd();
  2987.                 m_reader.DiscardBufferedData();
  2988.                 m_reader.Close();
  2989.                 m_reader = null;
  2990.             }
  2991.             catch(Exception e)
  2992.             { 
  2993.                 e.ToString();
  2994.                 contFlag = false;                
  2995.             }
  2996.             #endregion
  2997.  
  2998.             // READ THE CONTENTS OF THE USERCONFIG FILE INTO THE CONFIGFILECONTENTS STRING
  2999.             #region DONE
  3000.             try
  3001.             {
  3002.                 m_reader = new StreamReader(this.m_userFilePath);
  3003.                 this.m_userFileContents = m_reader.ReadToEnd();
  3004.                 m_reader.DiscardBufferedData();
  3005.                 m_reader.Close();
  3006.                 m_reader = null;
  3007.             }
  3008.             catch(Exception e)
  3009.             {
  3010.                 e.ToString();
  3011.                 m_writer = new StreamWriter(this.m_userFilePath, false);
  3012.                 m_writer.Write("");
  3013.                 m_writer.Flush();
  3014.                 m_writer.Close();
  3015.                 m_writer = null;
  3016.                 this.m_userFileContents = "";
  3017.             }
  3018.             #endregion
  3019.  
  3020.             // ITERATE THROUGH THE CZBIND FILE AND ADD ALL BINDS TO THE CURRENT BIND LISTBOX
  3021.             #region DONE
  3022.             try
  3023.             {
  3024.                 m_reader = new StreamReader(this.m_bindFilePath);
  3025.                 this.m_binFileContents = m_reader.ReadToEnd();
  3026.                 m_reader.DiscardBufferedData();
  3027.                 m_reader.Close();
  3028.                 m_reader = null;
  3029.             }
  3030.             catch(Exception e)
  3031.             {
  3032.                 e.ToString();
  3033.                 contFlag = false;
  3034.                 m_writer = new StreamWriter(this.m_bindFilePath);
  3035.                 m_writer.Write("");
  3036.                 m_writer.Flush();
  3037.                 m_writer.Close();
  3038.                 m_writer = null;
  3039.             }
  3040.             #endregion
  3041.  
  3042.             if(this.m_configFileContents != "")
  3043.             {
  3044.                 try
  3045.                 {
  3046.                     // RATE
  3047.                     #region DONE
  3048.                     string temp_rate="";
  3049.                     try
  3050.                     {
  3051.                         temp_rate = this.m_rate.GetValue("Rate").ToString();
  3052.                     }
  3053.                     catch(Exception e)
  3054.                     {e.ToString();}
  3055.                     if(temp_rate != "")
  3056.                     {
  3057.                         this.rate.Value = decimal.Parse(temp_rate);
  3058.                     }
  3059.                     #endregion
  3060.  
  3061.                     // AUTO WEAPON SWITCH
  3062.                     #region DONE
  3063.                     if(Regex.Match(this.m_configFileContents, @"_cl_autowepswitch\s\x22.*\x22").Success)
  3064.                     {
  3065.                         if(Regex.Match(this.m_configFileContents, @"_cl_autowepswitch\s\x221\x22").Success)
  3066.                             this._cl_autoweaponswitch.Checked = true;
  3067.                         if(Regex.Match(this.m_configFileContents, @"_cl_autowepswitch\s\x220\x22").Success)
  3068.                             this._cl_autoweaponswitch.Checked = false;
  3069.                     }
  3070.                     #endregion
  3071.  
  3072.                     // RIGHT HANDED PLAYER MODEL
  3073.                     #region DONE
  3074.                     if(Regex.Match(this.m_configFileContents, @"cl_righthand\s\x22.*\x22").Success)
  3075.                     {
  3076.                         if(Regex.Match(this.m_configFileContents, @"cl_righthand\s\x221\x22").Success)
  3077.                             this.cl_righthand.Checked = true;
  3078.                         if(Regex.Match(this.m_configFileContents, @"cl_righthand\s\x220\x22").Success)
  3079.                             this.cl_righthand.Checked = false;
  3080.                     }
  3081.                     #endregion
  3082.  
  3083.                     // GET THE VALUE OF VGUI MENU OPTION
  3084.                     #region DONE
  3085.                     if(Regex.Match(this.m_configFileContents, @"setinfo\s\x22_vgui_menus\x22\s\x22.*\x22").Success)
  3086.                     {
  3087.                         if(Regex.Match(this.m_configFileContents, @"setinfo\s\x22_vgui_menus\x22\s\x221\x22").Success)
  3088.                             this._vgui_menus.Checked = true;
  3089.                         if(Regex.Match(this.m_configFileContents, @"setinfo\s\x22_vgui_menus\x22\s\x220\x22").Success)
  3090.                             this._vgui_menus.Checked = false;
  3091.                     }
  3092.                     #endregion
  3093.  
  3094.                     // GET THE CONTENTS OF THE CONSOLE COLOR
  3095.                     #region DONE
  3096.                     string[] color = Regex.Replace(Regex.Match(this.m_configFileContents, @"con_color\s\x22.*\x22\r\n").Value,@"(con_color\s\x22)|(\x22\r\n)","").Split(' ');
  3097.                     try
  3098.                     {
  3099.                         this.consoleColorSample.ForeColor = Color.FromArgb(int.Parse(color[0]),int.Parse(color[1]),int.Parse(color[2]));
  3100.                     }
  3101.                     catch(Exception e){e.ToString();}
  3102.                     #endregion
  3103.  
  3104.                     // GET THE VALUE OF THE NETGRAPH
  3105.                     #region DONE
  3106.                     temp = Regex.Match(this.m_configFileContents, @"net_graph\s\x22[0-3]\x22").Value;
  3107.                     switch(temp)
  3108.                     {
  3109.                         case "net_graph \"0\"":
  3110.                             this.net_graph_0.Checked = true;
  3111.                             break;
  3112.                         case "net_graph \"1\"":
  3113.                             this.net_graph_1.Checked = true;
  3114.                             break;
  3115.                         case "net_graph \"2\"":
  3116.                             this.net_graph_2.Checked = true;
  3117.                             break;
  3118.                         case "net_graph \"3\"":
  3119.                             this.net_graph_3.Checked = true;
  3120.                             break;
  3121.                         default:
  3122.                             this.net_graph_0.Checked = true;
  3123.                             break;
  3124.                     }
  3125.                     #endregion
  3126.  
  3127.                     // GET THE VALUE OF THE NETGRAPHPOS
  3128.                     #region DONE
  3129.                     temp = Regex.Match(this.m_configFileContents, @"net_graphpos\s\x22[1-3]\x22").Value;
  3130.                     switch(temp)
  3131.                     {
  3132.                         case "net_graphpos \"1\"":
  3133.                             this.net_grappos_1.Checked = true;
  3134.                             break;
  3135.                         case "net_graphpos \"2\"":
  3136.                             this.net_grappos_2.Checked = true;
  3137.                             break;
  3138.                         case "net_graphpos \"3\"":
  3139.                             this.net_grappos_3.Checked = true;
  3140.                             break;
  3141.                         default:
  3142.                             this.net_grappos_3.Checked = true;
  3143.                             break;
  3144.                     }
  3145.                     #endregion
  3146.  
  3147.                     // GET FRAMES PER SECOND MAX
  3148.                     #region DONE
  3149.                     temp = Regex.Match(this.m_configFileContents, @"fps_max\s\x22\d{1,3}\x22").Value;
  3150.                     split = Regex.Split(temp,"\x22");
  3151.                     this.Fps_Range.Value = decimal.Parse(split[1]);
  3152.                     #endregion
  3153.  
  3154.                     // GET THE VALUE OF WEATHER CONDITIONS
  3155.                     #region DONE
  3156.                     temp = Regex.Match(this.m_configFileContents, @"cl_weather\s\x22.*\x22").Value;
  3157.                     split = Regex.Split(temp, "\x22");
  3158.                     if(split[1] == "1")
  3159.                         this.cl_weather.Checked = true;
  3160.                     if(split[1] == "0")
  3161.                         this.cl_weather.Checked = false;
  3162.                     #endregion
  3163.  
  3164.                     // GET THE VALUE OF DYNAMIC CROSS HAIRS
  3165.                     #region DONE
  3166.                     temp = Regex.Match(this.m_configFileContents, @"cl_dynamiccrosshair\s\x22[0,1]\x22").Value;
  3167.                     split = Regex.Split(temp, "\x22");
  3168.                     if(split[1] == "1")
  3169.                         this.DynamicCrossHairs.Checked = true;
  3170.                     if(split[1] == "0")
  3171.                         this.DynamicCrossHairs.Checked = false;
  3172.                     #endregion
  3173.  
  3174.                     // GET THE VALUE OF FAST SWITCH
  3175.                     #region DONE
  3176.                     temp = Regex.Match(this.m_configFileContents, @"hud_fastswitch\s\x22[0,1]\x22").Value;
  3177.                     split = Regex.Split(temp, "\x22");
  3178.                     if(split[1] == "1")
  3179.                         this.hud_fastswitch.Checked = true;
  3180.                     if(split[1] == "0")
  3181.                         this.hud_fastswitch.Checked = false;
  3182.                     #endregion
  3183.  
  3184.                     // GET THE VALUE OF CENTER PLAYER NAMES
  3185.                     #region DONE
  3186.                     temp = Regex.Match(this.m_configFileContents, @"hud_centerid\s\x22[0,1]\x22").Value;
  3187.                     split = Regex.Split(temp, "\x22");
  3188.                     if(split[1] == "1")
  3189.                         this.hud_centerID.Checked = true;
  3190.                     if(split[1] == "0")
  3191.                         this.hud_centerID.Checked = false;
  3192.                     #endregion
  3193.  
  3194.                     // GET THE PLAYER NAME
  3195.                     #region DONE
  3196.                     temp = Regex.Match(this.m_configFileContents, @"name\s\x22.+\x22").Value;
  3197.                     split = Regex.Split(temp, "\x22");
  3198.                     this.PlayerName.Text = split[1];
  3199.                     #endregion
  3200.  
  3201.                     // IF THERE IS NO CALL TO OUR CUSTOM BIND FILE IN THE CONFIG FILE WRITE IT.
  3202.                     #region DONE
  3203.                     if(!Regex.Match(this.m_userFileContents,@"exec\sczbind.cfg\r\n").Success)
  3204.                     {
  3205.                         m_writer = new StreamWriter(this.m_userFilePath, false);
  3206.                         if(Regex.Match(this.m_userFileContents, @".+\r\n$").Success)
  3207.                         {
  3208.                             this.m_userFileContents = "//~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~\r\n// CZ BIND MAKER\r\n// ⌐ 2003 Steven Whitley (aka [CZ] Qw4z0)\r\n// Custom Binds For Counter-Strike 1.6\r\n// Last Updated On "+DateTime.Now+"\r\n//\r\n// Visit http://www.bindmaker.org For Updates\r\n//\r\n//~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~\r\n\r\n"
  3209.                                 + this.m_userFileContents + "exec czbind.cfg\r\n";
  3210.                         }
  3211.                         else
  3212.                         {
  3213.                             this.m_userFileContents = "//~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~\r\n// CZ BIND MAKER\r\n// ⌐ 2003 Steven Whitley (aka [CZ] Qw4z0)\r\n// Custom Binds For Counter-Strike 1.6\r\n// Last Updated On "+DateTime.Now+"\r\n//\r\n// Visit http://www.bindmaker.org For Updates\r\n//\r\n//~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~\r\n\r\n"
  3214.                                 + this.m_userFileContents + "\r\nexec czbind.cfg\r\n";
  3215.                         }
  3216.                         m_writer.Write(this.m_userFileContents);
  3217.                         m_writer.Flush();
  3218.                         m_writer.Close();
  3219.                         m_writer = null;
  3220.                     }
  3221.                     #endregion
  3222.                 }
  3223.                 catch(Exception e)
  3224.                 {
  3225.                     // CATCH & DO SOMETHING LATER
  3226.                     e.ToString();
  3227.                 }
  3228.             }
  3229.  
  3230.             if(this.m_binFileContents != "" && contFlag)
  3231.             {
  3232.                 split = Regex.Split(this.m_binFileContents, "\r\n");
  3233.                 foreach(string s in split)
  3234.                 {
  3235.                     if(Regex.Match(s, @"^bind\s\x22.*").Success)
  3236.                         this.CurrentBind_ListBox.Items.Add(s);
  3237.                 }
  3238.             }
  3239.             #endregion
  3240.         }
  3241. #if VERSIONING
  3242.         /// <summary>
  3243.         /// Internal built in version control
  3244.         /// </summary>
  3245.         private void CheckVersion()
  3246.         {
  3247.             #region
  3248.             try
  3249.             {
  3250.                 WebClient w = new WebClient();
  3251.                 w.DownloadFile("http://www.bindmaker.org/releases/version.dat","version.cvs");                
  3252.                 StreamReader r = new StreamReader("version.cvs");
  3253.                 string[] temp = Regex.Split(r.ReadToEnd(),"\r\n");
  3254.                 if(APP_VERSION < double.Parse(temp[0]))
  3255.                 {
  3256.                     Version v = new Version(APP_VERSION,double.Parse(temp[0]),temp[1]);
  3257.                     v.ShowDialog(this);
  3258.                     if(v.DialogResult == DialogResult.Abort)
  3259.                     {
  3260.                         v.Dispose();
  3261.                     }
  3262.                 }
  3263.             }
  3264.             catch(Exception e)
  3265.             {
  3266.                 e.ToString();
  3267.             }
  3268.             #endregion
  3269.         }
  3270. #endif
  3271.         /// <summary>
  3272.         /// Method used to write the buy settings to czbind.cfg
  3273.         /// </summary>
  3274.         private void WriteBinds()
  3275.         {
  3276.             #region WRITE BINDS TO CZBIND.CFG
  3277.             if(this.CurrentBind_ListBox.Items.Count > 0)
  3278.             {
  3279.                 // WRITE BINDS TO CZBIND.CFG
  3280.                 #region DONE
  3281.                 try
  3282.                 {
  3283.                     if(File.Exists(this.m_bindFilePath))
  3284.                         File.Copy(this.m_bindFilePath, this.m_bindFilePath+".backup", true);
  3285.                     m_writer = new StreamWriter(this.m_bindFilePath,false);
  3286.                     m_writer.WriteLine("//~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~\r\n//\r\n//           CZ BIND MAKER\r\n// ⌐ 2003 Steven Whitley (aka [CZ] Qw4z0)\r\n// Custom Binds For Counter-Strike 1.6\r\n// Last Updated On " + DateTime.Now + "\r\n//\r\n// Visit http://www.bindmaker.org \r\n//  For Updates\r\n//\r\n//~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~\r\n\r\n");
  3287.                     for(int i = 0; i < this.CurrentBind_ListBox.Items.Count; i++)
  3288.                     {
  3289.                         m_writer.WriteLine(this.FormatBind(this.CurrentBind_ListBox.Items[i].ToString()));
  3290.                     }
  3291.                     m_writer.Flush();
  3292.                     m_writer.Close();
  3293.                     m_writer = null;
  3294.                 }
  3295.                 catch(Exception e)
  3296.                 {
  3297.                     e.ToString();
  3298.                     MessageBox.Show("CZ Bind Maker Failed to write the czbind.cfg file","Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
  3299.                 }
  3300.                 #endregion                
  3301.             }
  3302.             #endregion
  3303.  
  3304.             #region WRITE CONFIG FILE CHANGES
  3305.             try
  3306.             {
  3307.                 if(this.m_configFileContents != "")
  3308.                 {
  3309.                     // RATE
  3310.                     #region DONE
  3311.                     try
  3312.                     {
  3313.                         this.m_rate.SetValue("Rate", this.rate.Value.ToString());
  3314.                         this.m_rKey.SetValue("Rate", this.rate.Value.ToString());
  3315.                     }
  3316.                     catch(Exception subE)
  3317.                     {
  3318.                         subE.ToString();
  3319.                         MessageBox.Show("Failed to write \"Rate\" to registry","Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
  3320.                     }
  3321.                 
  3322.                     #endregion
  3323.  
  3324.                     // AUTO WEAPON SWITCH
  3325.                     #region DONE
  3326.                     if(this._cl_autoweaponswitch.Checked)
  3327.                         this.m_configFileContents = Regex.Replace(this.m_configFileContents, @"_cl_autowepswitch\s\x22.*\x22\r\n", "_cl_autowepswitch \"1\"\r\n");
  3328.                     if(!this._cl_autoweaponswitch.Checked)
  3329.                         this.m_configFileContents = Regex.Replace(this.m_configFileContents, @"_cl_autowepswitch\s\x22.*\x22\r\n", "_cl_autowepswitch \"0\"\r\n");
  3330.                     #endregion
  3331.  
  3332.                     // RIGHT HANDED PLAYER MODEL
  3333.                     #region DONE
  3334.                     if(this.cl_righthand.Checked)
  3335.                         this.m_configFileContents = Regex.Replace(this.m_configFileContents, @"cl_righthand\s\x22.*\x22", "cl_righthand \"1\"");
  3336.                     if(!this.cl_righthand.Checked)
  3337.                         this.m_configFileContents = Regex.Replace(this.m_configFileContents, @"cl_righthand\s\x22.*\x22", "cl_righthand \"0\"");
  3338.                     #endregion
  3339.  
  3340.                     // VGUI
  3341.                     #region DONE
  3342.                     if(Regex.Match(this.m_configFileContents, @"setinfo\s\x22_vgui_menus\x22\s\x22.{1}\x22").Success)
  3343.                     {
  3344.                         if(this._vgui_menus.Checked)
  3345.                             this.m_configFileContents = Regex.Replace(this.m_configFileContents, @"setinfo\s\x22_vgui_menus\x22\s\x22.{1}\x22","setinfo \"_vgui_menus\" \"1\"");
  3346.                         if(!this._vgui_menus.Checked)
  3347.                             this.m_configFileContents = Regex.Replace(this.m_configFileContents, @"setinfo\s\x22_vgui_menus\x22\s\x22.{1}\x22","setinfo \"_vgui_menus\" \"0\"");
  3348.                     }
  3349.                     else
  3350.                     {
  3351.                         if(this._vgui_menus.Checked)
  3352.                             this.m_configFileContents += "setinfo \"_vgui_menus\" \"1\"";
  3353.                         if(!this._vgui_menus.Checked)
  3354.                             this.m_configFileContents += "setinfo \"_vgui_menus\" \"0\"";
  3355.                     }
  3356.                     #endregion
  3357.  
  3358.                     // RE-WRITE THE CONSOLE COLOR IN THE CONFIG FILE
  3359.                     #region DONE
  3360.                     if(this.m_consoleColor != "")
  3361.                         this.m_configFileContents = Regex.Replace(this.m_configFileContents, @"con_color\s\x22.*\x22\r\n", String.Format("con_color \"{0}\"\r\n", this.m_consoleColor));
  3362.                     if(this.m_consoleColor == "")
  3363.                         this.m_configFileContents = Regex.Replace(this.m_configFileContents, @"con_color\s\x22.*\x22\r\n", String.Format("con_color \"{0}\"\r\n","255 128 0"));
  3364.                     #endregion
  3365.  
  3366.                     // NET GRAPH
  3367.                     #region DONE
  3368.                     int netgraph = this.net_graph_0.Checked?0:(
  3369.                         this.net_graph_1.Checked?1:(
  3370.                         this.net_graph_2.Checked?2:(
  3371.                         this.net_graph_3.Checked?3:0)));
  3372.                     this.m_configFileContents = Regex.Replace(this.m_configFileContents, @"net_graph\s\x22.\x22\r\n","net_graph \""+netgraph+"\"\r\n");
  3373.                     #endregion
  3374.  
  3375.                     // NET GRAPH POSITION
  3376.                     #region DONE
  3377.                     int netgraphpos = this.net_grappos_1.Checked?1:(
  3378.                         this.net_grappos_2.Checked?2:(
  3379.                         this.net_grappos_3.Checked?3:0));
  3380.                     this.m_configFileContents = Regex.Replace(this.m_configFileContents, @"net_graphpos\s\x22.\x22\r\n","net_graphpos \""+netgraphpos+"\"\r\n");
  3381.                     #endregion
  3382.  
  3383.                     // FPS MAX
  3384.                     #region DONE
  3385.                     this.m_configFileContents = Regex.Replace(this.m_configFileContents, @"fps_max\s\x22.*\x22\r\n","fps_max \""+this.Fps_Range.Value.ToString()+"\"\r\n");
  3386.                     #endregion
  3387.  
  3388.                     // WEATHER CONDITIONS
  3389.                     #region DONE
  3390.                     string weather = "0";
  3391.                     if(this.cl_weather.Checked)
  3392.                         weather = "1";
  3393.                     this.m_configFileContents = Regex.Replace(this.m_configFileContents, @"cl_weather\s\x22.*\x22\r\n", "cl_weather \""+weather+"\"\r\n");
  3394.                     #endregion
  3395.  
  3396.                     // DYNAMIC CROSS HAIRS
  3397.                     #region DONE
  3398.                     string crosshairs = "0";
  3399.                     if(this.DynamicCrossHairs.Checked)
  3400.                         crosshairs = "1";
  3401.                     this.m_configFileContents = Regex.Replace(this.m_configFileContents, @"cl_dynamiccrosshair\s\x22.*\x22\r\n", "cl_dynamiccrosshair \""+crosshairs+"\"\r\n");
  3402.                     #endregion
  3403.  
  3404.                     // FAST SWITCH
  3405.                     #region DONE
  3406.                     string fastSwitch = "0";
  3407.                     if(this.hud_fastswitch.Checked)
  3408.                         fastSwitch = "1";
  3409.                     this.m_configFileContents = Regex.Replace(this.m_configFileContents, @"hud_fastswitch\s\x22.*\x22\r\n", "hud_fastswitch \""+fastSwitch+"\"\r\n");
  3410.                     #endregion
  3411.  
  3412.                     // CENTER PLAYER NAMES
  3413.                     #region DONE
  3414.                     string centerName = "0";
  3415.                     if(this.hud_centerID.Checked)
  3416.                         centerName = "1";
  3417.                     this.m_configFileContents = Regex.Replace(this.m_configFileContents, @"hud_centerid\s\x22.*\x22\r\n", "hud_centerid \""+centerName+"\"\r\n");
  3418.                     #endregion
  3419.  
  3420.                     // PLAYER NAME
  3421.                     #region DONE
  3422.                     if(this.PlayerName.Text != "")
  3423.                         this.m_configFileContents = Regex.Replace(this.m_configFileContents, @"name\s\x22.*\x22\r\n", "name \""+this.PlayerName.Text+"\"\r\n");
  3424.                     #endregion
  3425.  
  3426.                     // WRITE THE ABOVE CHANGES TO THE CONFIG.CFG FILE
  3427.                     #region DONE
  3428.                     m_writer = new StreamWriter(this.m_configFilePath,false);
  3429.                     m_writer.Write(this.m_configFileContents);
  3430.                     m_writer.Flush();
  3431.                     m_writer.Close();
  3432.                     m_writer = null;
  3433.                     #endregion
  3434.                 }
  3435.             }
  3436.             catch(Exception e)
  3437.             {
  3438.                 e.ToString();
  3439.                 MessageBox.Show("CZ Bind Maker Failed to write changes to the config file","Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
  3440.             }
  3441.             #endregion
  3442.         }
  3443.         /// <summary>
  3444.         /// Method Used in formatting the current bind settings list string
  3445.         /// into a fully qualified Counter-Strike 1.6 formatted key bind
  3446.         /// </summary>
  3447.         /// String from Current Bind Settings list box
  3448.         /// <param name="s">
  3449.         /// </param>
  3450.         /// <returns>
  3451.         /// Returns a fully qualified Counter-Strike 1.6 formatted key bind.
  3452.         /// </returns>
  3453.         private string FormatBind(string s)
  3454.         {
  3455.             #region
  3456.             // FORMATS THE BIND INTO THE OFFICIAL
  3457.             // BIND FORMAT = bind "key" "command"
  3458.             s = s.TrimEnd(' ');
  3459.             string[] temp = {""};
  3460.             string bindString = "";
  3461.             if(Regex.Match(s, @"bind\s\x22.*\x22\s\x22.*\x22").Success)
  3462.                 bindString = s;
  3463.             if(s != "" && bindString != s)
  3464.             {
  3465.                 temp = Regex.Split(s,@"\s->\s");
  3466.                 if(temp[1] != "")
  3467.                 {
  3468.                     bindString = String.Format("bind \"{0}\" \"{1}\"",this.MatchKey(temp[0]),this.GetParameters(temp[1]));
  3469.                 }
  3470.             }
  3471.             return bindString;
  3472.             #endregion
  3473.         }
  3474.         /// <summary>
  3475.         /// Method used to get the fully qualified key name for each key
  3476.         /// </summary>
  3477.         /// <param name="s">String of the key inside the Current Bind Settings list box</param>
  3478.         /// <returns>The fully qualified CS1.6 key name for each key</returns>
  3479.         private string MatchKey(string s)
  3480.         {
  3481.             #region
  3482.             string key = "";
  3483.             switch(s)
  3484.             {
  3485.                 case "F1 ":
  3486.                     key = s.Trim();
  3487.                     break;
  3488.                 case "F2 ":
  3489.                     key = s.Trim();
  3490.                     break;
  3491.                 case "F3 ":
  3492.                     key = s.Trim();
  3493.                     break;
  3494.                 case "F4 ":
  3495.                     key = s.Trim();
  3496.                     break;
  3497.                 case "F5 ":
  3498.                     key = s.Trim();
  3499.                     break;
  3500.                 case "F6 ":
  3501.                     key = s.Trim();
  3502.                     break;
  3503.                 case "F7 ":
  3504.                     key = s.Trim();
  3505.                     break;
  3506.                 case "F8 ":
  3507.                     key = s.Trim();
  3508.                     break;
  3509.                 case "F9 ":
  3510.                     key = s.Trim();
  3511.                     break;
  3512.                 case "F10 ":
  3513.                     key = s.Trim();
  3514.                     break;
  3515.                 case "F11 ":
  3516.                     key = s.Trim();
  3517.                     break;
  3518.                 case "F12 ":
  3519.                     key = s.Trim();
  3520.                     break;
  3521.                 case "- ":
  3522.                     key = s.Trim();
  3523.                     break;
  3524.                 case "= ":
  3525.                     key = s.Trim();
  3526.                     break;
  3527.                 case "1 ":
  3528.                     key = s.Trim();
  3529.                     break;
  3530.                 case "2 ":
  3531.                     key = s.Trim();
  3532.                     break;
  3533.                 case "3 ":
  3534.                     key = s.Trim();
  3535.                     break;
  3536.                 case "4 ":
  3537.                     key = s.Trim();
  3538.                     break;
  3539.                 case "5 ":
  3540.                     key = s.Trim();
  3541.                     break;
  3542.                 case "6 ":
  3543.                     key = s.Trim();
  3544.                     break;
  3545.                 case "7 ":
  3546.                     key = s.Trim();
  3547.                     break;
  3548.                 case "8 ":
  3549.                     key = s.Trim();
  3550.                     break;
  3551.                 case "9 ":
  3552.                     key = s.Trim();
  3553.                     break;
  3554.                 case "0 ":
  3555.                     key = s.Trim();
  3556.                     break;
  3557.                 case "Q ":
  3558.                     key = s.Trim().ToLower();
  3559.                     break;
  3560.                 case "W ":
  3561.                     key = s.Trim().ToLower();
  3562.                     break;
  3563.                 case "E ":
  3564.                     key = s.Trim().ToLower();
  3565.                     break;
  3566.                 case "R ":
  3567.                     key = s.Trim().ToLower();
  3568.                     break;
  3569.                 case "T ":
  3570.                     key = s.Trim().ToLower();
  3571.                     break;
  3572.                 case "Y ":
  3573.                     key = s.Trim().ToLower();
  3574.                     break;
  3575.                 case "U ":
  3576.                     key = s.Trim().ToLower();
  3577.                     break;
  3578.                 case "I ":
  3579.                     key = s.Trim().ToLower();
  3580.                     break;
  3581.                 case "O ":
  3582.                     key = s.Trim().ToLower();
  3583.                     break;
  3584.                 case "P ":
  3585.                     key = s.Trim().ToLower();
  3586.                     break;
  3587.                 case "[ ":
  3588.                     key = s.Trim();
  3589.                     break;
  3590.                 case "] ":
  3591.                     key = s.Trim();
  3592.                     break;
  3593.                 case "\\ ":
  3594.                     key = s.Trim();
  3595.                     break;
  3596.                 case "A ":
  3597.                     key = s.Trim().ToLower();
  3598.                     break;
  3599.                 case "S ":
  3600.                     key = s.Trim().ToLower();
  3601.                     break;
  3602.                 case "D ":
  3603.                     key = s.Trim().ToLower();
  3604.                     break;
  3605.                 case "F ":
  3606.                     key = s.Trim().ToLower();
  3607.                     break;
  3608.                 case "G ":
  3609.                     key = s.Trim().ToLower();
  3610.                     break;
  3611.                 case "H ":
  3612.                     key = s.Trim().ToLower();
  3613.                     break;
  3614.                 case "J ":
  3615.                     key = s.Trim().ToLower();
  3616.                     break;
  3617.                 case "K ":
  3618.                     key = s.Trim().ToLower();
  3619.                     break;
  3620.                 case "L ":
  3621.                     key = s.Trim().ToLower();
  3622.                     break;
  3623.                 case "\" ":
  3624.                     key = s.Trim();
  3625.                     break;
  3626.                 case "Z ":
  3627.                     key = s.Trim().ToLower();
  3628.                     break;
  3629.                 case "X ":
  3630.                     key = s.Trim().ToLower();
  3631.                     break;
  3632.                 case "C ":
  3633.                     key = s.Trim().ToLower();
  3634.                     break;
  3635.                 case "V ":
  3636.                     key = s.Trim().ToLower();
  3637.                     break;
  3638.                 case "B ":
  3639.                     key = s.Trim().ToLower();
  3640.                     break;
  3641.                 case "N ":
  3642.                     key = s.Trim().ToLower();
  3643.                     break;
  3644.                 case "M ":
  3645.                     key = s.Trim().ToLower();
  3646.                     break;
  3647.                 case "/ ":
  3648.                     key = s.Trim();
  3649.                     break;
  3650.                 case "~ ":
  3651.                     key = "`";
  3652.                     break;
  3653.                 case "< ":
  3654.                     key = ",";
  3655.                     break;
  3656.                 case "> ":
  3657.                     key = ".";
  3658.                     break;
  3659.                 case "* ":
  3660.                     key = "*";
  3661.                     break;
  3662.                 case "; ":
  3663.                     key = "SEMICOLON";
  3664.                     break;
  3665.                 case "Escape ":
  3666.                     key = "ESCAPE";
  3667.                     break;
  3668.                 case "Enter ":
  3669.                     key = "ENTER";
  3670.                     break;
  3671.                 case "Shift ":
  3672.                     key = "";
  3673.                     break;
  3674.                 case "Caps Lock":
  3675.                     key = "CAPSLOCK";
  3676.                     break;
  3677.                 case "Control ":
  3678.                     key = "CTRL";
  3679.                     break;
  3680.                 case "Alt ":
  3681.                     key = "ALT";
  3682.                     break;
  3683.                 case "Space ":
  3684.                     key = "SPACE";
  3685.                     break;
  3686.                 case "Key Pad 1 ":
  3687.                     key = "KP_END";
  3688.                     break;
  3689.                 case "Key Pad 2 ":
  3690.                     key = "KP_DOWNARROW";
  3691.                     break;
  3692.                 case "Key Pad 3 ":
  3693.                     key = "KP_PGDN";
  3694.                     break;
  3695.                 case "Key Pad 4 ":
  3696.                     key = "KP_LEFTARROW";
  3697.                     break;
  3698.                 case "Key Pad 5 ":
  3699.                     key = "KP_5";
  3700.                     break;
  3701.                 case "Key Pad 6 ":
  3702.                     key = "KP_RIGHTARROW";
  3703.                     break;
  3704.                 case "Key Pad 7 ":
  3705.                     key = "KP_HOME";
  3706.                     break;
  3707.                 case "Key Pad 8 ":
  3708.                     key = "KP_UPARROW";
  3709.                     break;
  3710.                 case "Key Pad 9 ":
  3711.                     key = "KP_PGUP";
  3712.                     break;
  3713.                 case "Key Pad 0 ":
  3714.                     key = "KP_INS";
  3715.                     break;
  3716.                 case "Key Pad . ":
  3717.                     key = "KP_DEL";
  3718.                     break;
  3719.                 case "Key Pad + ":
  3720.                     key = "KP_PLUS";
  3721.                     break;
  3722.                 case "Key Pad - ":
  3723.                     key = "KP_MINUS";
  3724.                     break;
  3725.                 case "Key Pad Enter ":
  3726.                     key = "KP_ENTER";
  3727.                     break;
  3728.                 case "Key Pad / ":
  3729.                     key = "KP_SLASH";
  3730.                     break;
  3731.                 case "Pause ":
  3732.                     key = "PAUSE";
  3733.                     break;
  3734.                 case "Right Arrow ":
  3735.                     key = "RIGHTARROW";
  3736.                     break;
  3737.                 case "Left Arrow ":
  3738.                     key = "LEFTARROW";
  3739.                     break;
  3740.                 case "Down Arrow ":
  3741.                     key = "DOWNARROW";
  3742.                     break;
  3743.                 case "Up Arrow ":
  3744.                     key = "UPARROW";
  3745.                     break;
  3746.                 case "End ":
  3747.                     key = "END";
  3748.                     break;
  3749.                 case "Delete ":
  3750.                     key = "DEL";
  3751.                     break;
  3752.                 case "Page Up ":
  3753.                     key = "PGUP";
  3754.                     break;
  3755.                 case "Page Down ":
  3756.                     key = "PGDN";
  3757.                     break;
  3758.                 case "Home ":
  3759.                     key = "HOME";
  3760.                     break;
  3761.                 case "Insert ":
  3762.                     key = "INS";
  3763.                     break;
  3764.                 case "Bksp ":
  3765.                     key = "BACKSPACE";
  3766.                     break;
  3767.                 case "Tab ":
  3768.                     key = "TAB";
  3769.                     break;
  3770.             }
  3771.             return key;
  3772.             #endregion
  3773.         }
  3774.         /// <summary>
  3775.         /// Returns the bind parameters in Counter-Strike 1.6 binding format
  3776.         /// </summary>
  3777.         /// <param name="s">list of buy item names as listed in the list box</param>
  3778.         /// <returns>the fully qualified buy keyword for each item.</returns>
  3779.         private string GetParameters(string s)
  3780.         {
  3781.             #region
  3782.             string binds = "";
  3783.             // ADD STOPSOUND FIRST IF IT EXISTS
  3784.             if(Regex.Match(s,@"Stop\sSound").Success)
  3785.             {
  3786.                 binds = "stopsound;";
  3787.                 s = Regex.Replace(s, @"Stop\sSound", "");
  3788.             }
  3789.  
  3790.             // DETERMINE IF WE HAVE A SAY, TEAM SAY OR RADIO COMMANDS IN THE BIND LIST
  3791.             if(Regex.Match(s, @"(Say:\s)|(Team\sSay\s)|(Radio\sCommand:\s)").Success)
  3792.             {
  3793.                 // ADD A TEAM SAY ITEM TO THE LIST IF IT EXISTS
  3794.                 if(Regex.Match(s, @"Team\sSay:\s.*;").Success)
  3795.                 {
  3796.                     // COPY THE TEAM SAY BLOCK TO SAYTEMP
  3797.                     string sayTemp = Regex.Match(s, @"(\s\+\sTeam\sSay:\s\x22.*\x22;)").Value;
  3798.                     // REMOVE THE TEXT "TEAM SAY: "
  3799.                     sayTemp = Regex.Replace(sayTemp, @"\s\+\sTeam\sSay:\s", "");
  3800.                     sayTemp = sayTemp.Replace("\x22","");
  3801.                     // ADD THE BIND += "SAY TEXT";
  3802.                     binds += "say_team "+sayTemp;
  3803.                     // REMOVE THE SAY TEAM LINE FROM THE LIST
  3804.                     s = Regex.Replace(s, @"\s\+\sTeam\sSay:\s\x22.*\x22;", "");
  3805.                 }
  3806.                 // ADD THE SAY ITEM TO THE LIST IF IT EXISTS
  3807.                 if(Regex.Match(s, @"Say:\s.*;").Success)
  3808.                 {
  3809.                     // COPY THE SAY BLOCK TO SAYTEMP
  3810.                     string sayTemp = Regex.Match(s, @"(\s\+\sSay:\s\x22.*\x22;)").Value;
  3811.                     // REMOVE THE TEXT "SAY: "
  3812.                     sayTemp = Regex.Replace(sayTemp, @"\s\+\sSay:\s", "");
  3813.                     sayTemp = sayTemp.Replace("\x22","");
  3814.                     // ADD THE BIND += "SAY TEXT";
  3815.                     binds += "say "+sayTemp;
  3816.                     // REMOVE THE SAY LINE FROM THE LIST
  3817.                     s = Regex.Replace(s, @"\s\+\sSay:\s\x22.*\x22;", "");
  3818.                 }
  3819.                 // ADD THE RADIO COMMANDS IF THEY EXIST
  3820.                 if(Regex.Match(s, @"Radio\sCommand:\s.*;").Success)
  3821.                 {
  3822.                     // COPY THE RADIO COMMAND BIT TO RADIOTEMP
  3823.                     string radioTemp = Regex.Match(s, @"\s\+\sRadio\sCommand:\s.*;").Value;
  3824.                     // REMOVE THE RADIO COMAND: BIT
  3825.                     radioTemp = Regex.Replace(radioTemp, @"\s\+\sRadio\sCommand:\s", "");
  3826.                     // ADD THE RADIO COMMAND TO THE BIND LIST
  3827.                     //binds += radioTemp;
  3828.                     switch(radioTemp)
  3829.                     {
  3830.                         case "Cover me;":
  3831.                             binds += "coverme;";
  3832.                             break;
  3833.                         case "You take the point;":
  3834.                             binds += "takepoint;";
  3835.                             break;
  3836.                         case "Hold this position;":
  3837.                             binds += "holdpos;";
  3838.                             break;
  3839.                         case "Re-group team;":
  3840.                             binds += "regroup;";
  3841.                             break;
  3842.                         case "Follow me;":
  3843.                             binds += "followme;";
  3844.                             break;
  3845.                         case "Taking fire;":
  3846.                             binds += "takingfire;";
  3847.                             break;
  3848.                         case "Go Go Go;":
  3849.                             binds += "go;";
  3850.                             break;
  3851.                         case "Fall back;":
  3852.                             binds += "fallback;";
  3853.                             break;
  3854.                         case "Stick together team;":
  3855.                             binds += "sticktog;";
  3856.                             break;
  3857.                         case "Get in position;":
  3858.                             binds += "getinpos;";
  3859.                             break;
  3860.                         case "Storm the front;":
  3861.                             binds += "stormfront;";
  3862.                             break;
  3863.                         case "Report in team;":
  3864.                             binds += "report;";
  3865.                             break;
  3866.                         case "Roger that/ Affirmative;":
  3867.                             binds += "roger;";
  3868.                             break;
  3869.                         case "Enemy spotted;":
  3870.                             binds += "enemyspot;";
  3871.                             break;
  3872.                         case "Need backup;":
  3873.                             binds += "needbackup;";
  3874.                             break;
  3875.                         case "Sector clear;":
  3876.                             binds += "sectorclear;";
  3877.                             break;
  3878.                         case "I'm in position;":
  3879.                             binds += "inposition;";
  3880.                             break;
  3881.                         case "Reporting in;":
  3882.                             binds += "reportingin;";
  3883.                             break;
  3884.                         case "Get out of there;":
  3885.                             binds += "getout;";
  3886.                             break;
  3887.                         case "Negative;":
  3888.                             binds += "negative;";
  3889.                             break;
  3890.                         case "Enemy down;":
  3891.                             binds += "enemydown;";
  3892.                             break;
  3893.                         default:
  3894.                             break;    
  3895.                     }
  3896.                     //REMOVE THE RADIO COMMAND STUFF FROM THE LIST
  3897.                     s = Regex.Replace(s, @"\s\+\sRadio\sCommand:\s\w;", "");
  3898.                 }
  3899.             }
  3900.  
  3901.             string[] temp = Regex.Split(s,@"\s\+\s");
  3902.             for(int i = 0; i <= 4; i++)
  3903.             {
  3904.                 for(int j = 0; j < temp.Length; j++)
  3905.                 {
  3906.                     if(i == 0)
  3907.                     {
  3908.                         // ADD WEAPONS IF THEY EXIST
  3909.                         switch(temp[j])
  3910.                         {
  3911.                             #region
  3912.                             case "Glock":
  3913.                                 binds += "glock;";
  3914.                                 break;
  3915.                             case "Usp":
  3916.                                 binds += "usp;";
  3917.                                 break;
  3918.                             case "P228":
  3919.                                 binds += "p228;";
  3920.                                 break;
  3921.                             case "Deagle":
  3922.                                 binds += "deagle;";
  3923.                                 break;
  3924.                             case "Dualies(Elites)":
  3925.                                 binds += "elites;";
  3926.                                 break;
  3927.                             case "Fn57":
  3928.                                 binds += "fn57;";
  3929.                                 break;
  3930.                             case "Shotgun(m3)":
  3931.                                 binds += "m3;";
  3932.                                 break;
  3933.                             case "Auto shotty(xm1014)":
  3934.                                 binds += "xm1014;";
  3935.                                 break;
  3936.                             case "Mac10":
  3937.                                 binds += "mac10;";
  3938.                                 break;
  3939.                             case "Tmp":
  3940.                                 binds += "tmp;";
  3941.                                 break;
  3942.                             case "Mp5":
  3943.                                 binds += "mp5;";
  3944.                                 break;
  3945.                             case "Ump45":
  3946.                                 binds += "ump45;";
  3947.                                 break;
  3948.                             case "P90":
  3949.                                 binds += "p90;";
  3950.                                 break;
  3951.                             case "Scout":
  3952.                                 binds += "scout;";
  3953.                                 break;
  3954.                             case "Sg550":
  3955.                                 binds += "sg550;";
  3956.                                 break;
  3957.                             case "Awp":
  3958.                                 binds += "awp;";
  3959.                                 break;
  3960.                             case "G3sg1":
  3961.                                 binds += "g3sg1;";
  3962.                                 break;
  3963.                             case "Famas / Galil":
  3964.                                 binds += "famas;galil;";
  3965.                                 break;
  3966.                             case "Colt / Ak":
  3967.                                 binds += "m4a1;ak47;";
  3968.                                 break;
  3969.                             case "Aug / Sig":
  3970.                                 binds += "aug;sg552;";
  3971.                                 break;
  3972.                             case "Para(m249)":
  3973.                                 binds += "m249;";
  3974.                                 break;
  3975.                                 #endregion
  3976.                         }
  3977.                     }
  3978.                     if(i == 1)
  3979.                     {
  3980.                         // ADD AMMO IF IT EXISTS
  3981.                         switch(temp[j])
  3982.                         {
  3983.                             #region
  3984.                             case "Primary Ammo":
  3985.                                 binds += "primammo;";
  3986.                                 break;
  3987.                             case "Secondary Ammo":
  3988.                                 binds += "secammo;";
  3989.                                 break;
  3990.                             #endregion
  3991.                         }
  3992.                     }
  3993.                     if(i == 2)
  3994.                     {
  3995.                         // ADD INVENTORY ITEMS IF THEY EXIST
  3996.                         switch(temp[j])
  3997.                         {
  3998.                             #region
  3999.                             case "Defuser":
  4000.                                 binds += "defuser;";
  4001.                                 break;
  4002.                             case "Shield":
  4003.                                 binds += "shield;";
  4004.                                 break;
  4005.                             case "Vest":
  4006.                                 binds += "vest;";
  4007.                                 break;
  4008.                             case "Vest & Helmet":
  4009.                                 binds += "vesthelm;";
  4010.                                 break;
  4011.                             case "Night Vision Goggles":
  4012.                                 binds += "nvgs;";
  4013.                                 break;
  4014.                             #endregion
  4015.                         }
  4016.                     }
  4017.                     if(i == 3)
  4018.                     {
  4019.                         // ADD NADES IF THEY EXIST
  4020.                         switch(temp[j])
  4021.                         {
  4022.                             #region
  4023.                             case "Flash":
  4024.                                 binds += "flash;";
  4025.                                 break;
  4026.                             case "Flash(x2)":
  4027.                                 binds += "flash;flash;";
  4028.                                 break;
  4029.                             case "HE Grenade":
  4030.                                 binds += "hegren;";
  4031.                                 break;
  4032.                             case "Smoke Grenade":
  4033.                                 binds += "sgren;";
  4034.                                 break;
  4035.                             #endregion
  4036.                         }
  4037.                     }
  4038.                 }
  4039.             }
  4040.             return binds;
  4041.             #endregion
  4042.         }
  4043.  
  4044.         /// <summary>
  4045.         /// clears all checked items in the buy listing.  
  4046.         /// 
  4047.         /// REMEMBER IF YOU ADD ANY ITEMS TO THE LIST OF ITEMS TO BIND TO UPDATE IT HERE ALSO.
  4048.         /// </summary>
  4049.         /// <param name="sender"></param>
  4050.         /// <param name="e"></param>
  4051.         private void ClearBindOptions()
  4052.         {
  4053.             #region
  4054.             this.BindOptions_ListBox.Items.Clear();
  4055.             this.BindOptions_ListBox.Items.AddRange(new object[] {
  4056.                                                                      "Aug / Sig",
  4057.                                                                      "Auto shotty(xm1014)",
  4058.                                                                      "Awp",
  4059.                                                                      "Colt / Ak",
  4060.                                                                      "Deagle",
  4061.                                                                      "Defuser",
  4062.                                                                      "Dualies(Elites)",
  4063.                                                                      "Famas / Galil",
  4064.                                                                      "Flash",
  4065.                                                                      "Flash(x2)",
  4066.                                                                      "Fn57",
  4067.                                                                      "G3sg1",
  4068.                                                                      "Glock",
  4069.                                                                      "HE Grenade",
  4070.                                                                      "Mac10",
  4071.                                                                      "Mp5",
  4072.                                                                      "Night Vision Goggles",
  4073.                                                                      "P228",
  4074.                                                                      "P90",
  4075.                                                                      "Para(m249)",
  4076.                                                                      "Primary Ammo",
  4077.                                                                      "Scout",
  4078.                                                                      "Secondary Ammo",
  4079.                                                                      "Sg550",
  4080.                                                                      "Shield",
  4081.                                                                      "Shotgun(m3)",
  4082.                                                                      "Smoke Grenade",
  4083.                                                                      "Stop Sound",
  4084.                                                                      "Tmp",
  4085.                                                                      "Ump45",
  4086.                                                                      "Usp",
  4087.                                                                      "Vest",
  4088.                                                                      "Vest & Helmet"});
  4089.             this.radioCommand_comboBoxItem.ComboBox.SelectedIndex = -1;
  4090.             this.say_teamsay_textBox.Text = "";
  4091.             #endregion
  4092.         }
  4093.  
  4094.         /// <summary>
  4095.         /// The Property which contains the string value of button which has been selected 
  4096.         /// on the keyboard layout.
  4097.         /// </summary>
  4098.         private string ButtonPressed
  4099.         {
  4100.             #region
  4101.             get
  4102.             {
  4103.                 return  esc.Checked?"Escape ":(
  4104.                     f1.Checked?"F1 ":(
  4105.                     f2.Checked?"F2 ":(
  4106.                     f3.Checked?"F3 ":(
  4107.                     f4.Checked?"F4 ":(
  4108.                     f5.Checked?"F5 ":(
  4109.                     f6.Checked?"F6 ":(
  4110.                     f7.Checked?"F7 ":(
  4111.                     f8.Checked?"F8 ":(
  4112.                     f9.Checked?"F9 ":(
  4113.                     f10.Checked?"F10 ":(
  4114.                     f11.Checked?"F11 ":(
  4115.                     f12.Checked?"F12 ":(
  4116.                     tilda.Checked?"~ ":(
  4117.                     one.Checked?"1 ":(
  4118.                     two.Checked?"2 ":(
  4119.                     three.Checked?"3 ":(
  4120.                     four.Checked?"4 ":(
  4121.                     five.Checked?"5 ":(
  4122.                     six.Checked?"6 ":(
  4123.                     seven.Checked?"7 ":(
  4124.                     eight.Checked?"8 ":(
  4125.                     nine.Checked?"9 ":(
  4126.                     zero.Checked?"0 ":(
  4127.                     dash.Checked?"- ":(
  4128.                     equals.Checked?"= ":(
  4129.                     backspace.Checked?"Bksp ":(
  4130.                     tab.Checked?"Tab ":(
  4131.                     qkey.Checked?"Q ":(
  4132.                     wkey.Checked?"W ":(
  4133.                     ekey.Checked?"E ":(
  4134.                     rkey.Checked?"R ":(
  4135.                     tkey.Checked?"T ":(
  4136.                     ykey.Checked?"Y ":(
  4137.                     ukey.Checked?"U ":(
  4138.                     ikey.Checked?"I ":(
  4139.                     okey.Checked?"O ":(
  4140.                     pkey.Checked?"P ":(
  4141.                     open_square_brace_key.Checked?"[ ":(
  4142.                     closed_square_brace_key.Checked?"] ":(
  4143.                     backslash.Checked?"\\ ":(
  4144.                     caps.Checked?"Caps Lock":(
  4145.                     akey.Checked?"A ":(
  4146.                     skey.Checked?"S ":(
  4147.                     dkey.Checked?"D ":(
  4148.                     fkey.Checked?"F ":(
  4149.                     gkey.Checked?"G ":(
  4150.                     hkey.Checked?"H ":(
  4151.                     jkey.Checked?"J ":(
  4152.                     kkey.Checked?"K ":(
  4153.                     lkey.Checked?"L ":(
  4154.                     semicol.Checked?"; ":(
  4155.                     quotes.Checked?"\" ":(
  4156.                     enter.Checked?"Enter ":(
  4157.                     lshift.Checked?"Shift ":(
  4158.                     zkey.Checked?"Z ":(
  4159.                     xkey.Checked?"X ":(
  4160.                     ckey.Checked?"C ":(
  4161.                     vkey.Checked?"V ":(
  4162.                     bkey.Checked?"B ":(
  4163.                     nkey.Checked?"N ":(
  4164.                     mkey.Checked?"M ":(
  4165.                     open_tag.Checked?"< ":(
  4166.                     closed_tag.Checked?"> ":(
  4167.                     forwardslash.Checked?"/ ":(
  4168.                     rshift.Checked?"Shift ":(
  4169.                     lctrl.Checked?"Control ":(
  4170.                     lalt.Checked?"Alt ":(
  4171.                     space.Checked?"Space ":(
  4172.                     ralt.Checked?"Alt ":(
  4173.                     rctrl.Checked?"Control ":(
  4174.                     kp_0.Checked?"Key Pad 0 ":(
  4175.                     kp_dot.Checked?"Key Pad . ":(
  4176.                     kp_rtn.Checked?"Key Pad Enter ":(
  4177.                     kp_3.Checked?"Key Pad 3 ":(
  4178.                     kp_2.Checked?"Key Pad 2 ":(
  4179.                     kp_1.Checked?"Key Pad 1 ":(
  4180.                     kp_6.Checked?"Key Pad 6 ":(
  4181.                     kp_5.Checked?"Key Pad 5 ":(
  4182.                     kp_4.Checked?"Key Pad 4 ":(
  4183.                     kp_plus.Checked?"Key Pad + ":(
  4184.                     kp_9.Checked?"Key Pad 9 ":(
  4185.                     kp_8.Checked?"Key Pad 8 ":(
  4186.                     kp_7.Checked?"Key Pad 7 ":(
  4187.                     kp_dash.Checked?"Key Pad - ":(
  4188.                     astrisk.Checked?"* ":(
  4189.                     kp_forwardslash.Checked?"Key Pad / ":(
  4190.                     pause.Checked?"Pause ":(
  4191.                     rightarrow.Checked?"Right Arrow ":(
  4192.                     leftarrow.Checked?"Left Arrow ":(
  4193.                     downarrow.Checked?"Down Arrow ":(
  4194.                     uparrow.Checked?"Up Arrow ":(
  4195.                     pagedown.Checked?"Page Down ":(
  4196.                     end.Checked?"End ":(
  4197.                     del.Checked?"Delete ":(
  4198.                     pageup.Checked?"Page Up ":(
  4199.                     home.Checked?"Home ":(
  4200.                     ins.Checked?"Insert ":NO_KEY_PRESSED
  4201.                     )))))))))))))))))))))))))))))))))))))))))
  4202.                     )))))))))))))))))))))))))))))))))))))))))
  4203.                     )))))))))))))));
  4204.             }
  4205.             #endregion
  4206.         }
  4207.         /// <summary>
  4208.         /// Contains the concatinated buy items which were selected
  4209.         /// </summary>
  4210.         private string BindParameters
  4211.         {
  4212.             #region
  4213.             get
  4214.             {
  4215.                 string temp = "";
  4216.  
  4217.  
  4218.                 for(int i = 0; i < this.BindOptions_ListBox.CheckedItems.Count; i++)
  4219.                 {
  4220.                     temp += this.BindOptions_ListBox.CheckedItems[i].ToString();
  4221.                     if(this.BindOptions_ListBox.CheckedItems.Count > 1 && i+1 < this.BindOptions_ListBox.CheckedItems.Count)
  4222.                         temp += " + ";
  4223.                 }
  4224.  
  4225.                 // ADD SAY/TEAM SAY TEXT TO THE BIND LIST
  4226.                 if(this.say_teamsay_textBox.Text.Trim() != "")
  4227.                 {
  4228.                     string say = this.say_teamsay_combobox.SelectedItem.ToString() == "Say"?"Say: \"":"Team Say: \"";
  4229.                     temp += " + " + say + this.say_teamsay_textBox.Text+"\";";
  4230.                 }
  4231.                 // ADD RADIO COMMANDS TO THE BIND LIST
  4232.                 if(this.radioCommand_comboBoxItem.ComboBox.SelectedIndex != -1)
  4233.                 {
  4234.                     temp += " + Radio Command: "+this.radioCommand_comboBoxItem.ComboBox.SelectedItem.ToString()+";";
  4235.                 }
  4236.  
  4237.  
  4238.                 return temp+"    ";
  4239.             }
  4240.             #endregion
  4241.         }
  4242.         /// <summary>
  4243.         /// Visit Code Zulu Website
  4244.         /// </summary>
  4245.         /// <param name="sender"></param>
  4246.         /// <param name="e"></param>
  4247.         private void PictureBox1_Click(object sender, System.EventArgs e)
  4248.         {
  4249.             #region
  4250.             System.Diagnostics.Process.Start("http://www.bindmaker.org");
  4251.             #endregion
  4252.         }
  4253.         /// <summary>
  4254.         /// Exit the Application
  4255.         /// </summary>
  4256.         /// <param name="sender"></param>
  4257.         /// <param name="e"></param>
  4258.         private void Exit_option_Click(object sender, System.EventArgs e)
  4259.         {
  4260.             #region
  4261.             Application.Exit();
  4262.             #endregion
  4263.         }
  4264.  
  4265.         /// <summary>
  4266.         /// Load the config file from a file dialog box
  4267.         /// </summary>
  4268.         /// <param name="sender"></param>
  4269.         /// <param name="e"></param>
  4270.         private void Config_option_Click(object sender, System.EventArgs e)
  4271.         {
  4272.             #region
  4273.             if(this.m_configFilePath == "")
  4274.             {
  4275.                 if(this.ConfigFileFinder.ShowDialog(this) == DialogResult.OK)
  4276.                 {
  4277.                     this.m_configFilePath = this.ConfigFileFinder.FileName;
  4278.                 }
  4279.             }
  4280.             else 
  4281.             {
  4282.                 if(MessageBox.Show("You Already have your Config.cfg File Set,\nWould You Like to Choose another?","Config File is Already Set",MessageBoxButtons.OKCancel, MessageBoxIcon.Question) == DialogResult.OK)
  4283.                 {
  4284.                     if(this.ConfigFileFinder.ShowDialog(this) == DialogResult.OK)
  4285.                     {
  4286. //########## TODO: ADD BIND FILE PATH, USERCONFIG FILE PATH AND OTHER PATHS HERE SO THAT THE FILE OPEN WORKS ###############
  4287.                         this.m_configFilePath = this.ConfigFileFinder.FileName;
  4288.                         this.LoadConfigFile();
  4289.                     }
  4290.                 }
  4291.             }
  4292.             #endregion
  4293.         }
  4294.         /// <summary>
  4295.         /// Clear all the checked boxes from the bind options box
  4296.         /// </summary>
  4297.         /// <param name="sender"></param>
  4298.         /// <param name="e"></param>
  4299.         private void ClearSelectedBinds_Click(object sender, System.EventArgs e)
  4300.         {
  4301.             #region CLEAR BIND OPTIONS
  4302.             this.ClearBindOptions();
  4303.             #endregion
  4304.         }
  4305.  
  4306.         /// <summary>
  4307.         /// Event for adding the selected items to the current bind settings list box
  4308.         /// </summary>
  4309.         /// <param name="sender"></param>
  4310.         /// <param name="e"></param>
  4311.         private void AddBind_button_Click(object sender, System.EventArgs e)
  4312.         {
  4313.             #region
  4314.             // IF NO BUTTON WAS SELECTED POP UP AN ERROR MESSAGE
  4315.             if(this.ButtonPressed == NO_KEY_PRESSED && this.CustomBind.Text == "bind \"key\" \"command\"")
  4316.             {
  4317.                 MessageBox.Show("You Must First Select A Key To Bind!","Error, No Button Selected",MessageBoxButtons.OK, MessageBoxIcon.Error);
  4318.             }
  4319.             if(this.ButtonPressed != NO_KEY_PRESSED && this.CustomBind.Text != "" && this.BindOptions_ListBox.CheckedItems.Count == 0 && this.radioCommand_comboBoxItem.ComboBox.SelectedIndex == -1 && this.say_teamsay_textBox.Text == "")
  4320.             {
  4321.                 MessageBox.Show("You Must Select an Item/Items To bind To This Key","Error No Items Selected",MessageBoxButtons.OK,MessageBoxIcon.Error);
  4322.             }
  4323.             bool radio_say = this.ButtonPressed == NO_KEY_PRESSED    && (this.radioCommand_comboBoxItem.ComboBox.SelectedIndex > 0 || this.say_teamsay_textBox.Text != "");
  4324.             if(radio_say)
  4325.             {
  4326.                 MessageBox.Show("You Must First Select A Key To Bind!","Error, No Button Selected",MessageBoxButtons.OK, MessageBoxIcon.Error);
  4327.             }
  4328.             else if(!radio_say)
  4329.             {
  4330.                 this.CurrentBind_ListBox.Items.Add(this.ButtonPressed + " -> " + this.BindParameters);
  4331.             }
  4332.  
  4333.             
  4334.             // ADD BIND DIRECTLY TO THE CURRENT BIND SETTINGS
  4335.             if(this.CustomBind.Text != "" && this.CustomBind.Text != "bind \"key\" \"command\"" && this.BindOptions_ListBox.CheckedItems.Count == 0)
  4336.             {
  4337.                 this.CurrentBind_ListBox.Items.Add(this.CustomBind.Text);
  4338.                 this.CustomBind.Clear();
  4339.             }
  4340.             
  4341.             // ADD SELECTED ITEMS AND KEYS TO THE CURRENT BIND SETTINGS LIST
  4342.             if(this.BindOptions_ListBox.CheckedItems.Count > 0  && this.ButtonPressed != NO_KEY_PRESSED && this.BindParameters != "")
  4343.             {
  4344.                 // IF THE KEY BEING SUBMITTED FOR BINDING IS NOT ALREADY IN THE CURRENT 
  4345.                 // BIND SETTINGS LIST, INDEX WILL CONTAIN -1.  OTHERWISE IT WILL CONTAIN
  4346.                 // THE INDEX OF THE DUPLICATE KEY.
  4347.                 int index = this.CurrentBind_ListBox.FindString(this.ButtonPressed);
  4348.                 if(index == -1)
  4349.                 {
  4350.                     this.CurrentBind_ListBox.Items.Add(this.ButtonPressed + " -> " + this.BindParameters);
  4351.                     // CLEAR CHECKED ITEMS AND PRESSED BUTTONS
  4352.                     this.ClearBindOptions();
  4353.                     this.esc.Checked = true;
  4354.                     this.esc.Checked = false;
  4355.                 }
  4356.                 // IF THE KEY IS A DUPLICATE, ASK IF THEY WANT TO REPLACE THE BIND
  4357.                 if(index != -1)
  4358.                 {
  4359.                     // IF YES, THEN INSERT IT AT INDEX'S POSITION
  4360.                     if(MessageBox.Show("A Bind For This Key Already Exists!\nDo You Wish To Replace It?","Duplicate Key Exists", MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation) == DialogResult.Yes)
  4361.                     {
  4362.                         this.CurrentBind_ListBox.Items[index] = this.ButtonPressed + " -> " + this.BindParameters;
  4363.                     }
  4364.                     // CLEAR CHECKED ITEMS AND PRESSED BUTTONS
  4365.                     this.ClearBindOptions();
  4366.                     this.esc.Checked = true;
  4367.                     this.esc.Checked = false;
  4368.                 }
  4369.             }
  4370.             #endregion
  4371.         }
  4372.         /// <summary>
  4373.         /// Opens up a browser to CZ Bind Maker website for support
  4374.         /// </summary>
  4375.         /// <param name="sender"></param>
  4376.         /// <param name="e"></param>
  4377.         private void Helpme_option_Click(object sender, System.EventArgs e)
  4378.         {
  4379.             #region
  4380.             if(MessageBox.Show("You will now be taken to the CZ Bind Maker Support forums\n"
  4381.                 +"You will need to register (if you have not already) to post your request\n\n"
  4382.                 +"This is the quickest, most personal way to get support for the application\n\n"
  4383.                 +"Thanks,\n--Steve","Information", MessageBoxButtons.OKCancel, MessageBoxIcon.Information) == DialogResult.OK)
  4384.             {
  4385.                 System.Diagnostics.Process.Start("http://www.bindmaker.org/modules.php?name=Forums&file=viewforum&f=5");
  4386.             }
  4387.             #endregion
  4388.         }
  4389.         /// <summary>
  4390.         /// Event for clearing the template text on the custom bind text box when 
  4391.         /// the cursor is placed inside it.
  4392.         /// </summary>
  4393.         /// <param name="sender">sending object</param>
  4394.         /// <param name="e">event arguments</param>
  4395.         private void CustomBind_Enter(object sender, System.EventArgs e)
  4396.         {
  4397.             #region
  4398.             esc.Checked = true;
  4399.             esc.Checked = false;
  4400.             this.ClearBindOptions();
  4401.             if(this.CustomBind.Text == "bind \"key\" \"command\"")
  4402.                 this.CustomBind.Text = "";
  4403.             #endregion
  4404.         }
  4405.  
  4406.         /// <summary>
  4407.         /// Event for placing the template text back inside custom bind text box when 
  4408.         /// the cusor leaves the box.
  4409.         /// </summary>
  4410.         /// <param name="sender"></param>
  4411.         /// <param name="e"></param>
  4412.         private void CustomBind_Leave(object sender, System.EventArgs e)
  4413.         {
  4414.             #region
  4415.             if(this.CustomBind.Text == "")
  4416.             {
  4417.                 this.CustomBind.Text = "bind \"key\" \"command\"";
  4418.             }
  4419.             #endregion
  4420.         }
  4421.  
  4422.         /// <summary>
  4423.         /// When the choose console color button is pressed this method sets the 
  4424.         /// new console text color.
  4425.         /// </summary>
  4426.         /// <param name="sender">The object which triggered the event</param>
  4427.         /// <param name="e">The Event arguments</param>
  4428.         private void Consolecolor_Click(object sender, System.EventArgs e)
  4429.         {
  4430.             #region
  4431.             if(this.ConsoleColorPicker.ShowDialog(this) == DialogResult.OK)
  4432.             {
  4433.                 this.m_consoleColor = this.ConsoleColorPicker.Color.R.ToString() + " " + this.ConsoleColorPicker.Color.G.ToString() + " " + this.ConsoleColorPicker.Color.B.ToString();
  4434.                 this.consoleColorSample.ForeColor = this.ConsoleColorPicker.Color;
  4435.             }
  4436.             #endregion
  4437.         }
  4438.         /// <summary>
  4439.         /// Remove the selected bind from the current bind settings list
  4440.         /// </summary>
  4441.         /// <param name="sender"></param>
  4442.         /// <param name="e"></param>
  4443.         private void DeleteBind_option_Click(object sender, System.EventArgs e)
  4444.         {
  4445.             #region
  4446.             this.CurrentBind_ListBox.Items.Remove(this.CurrentBind_ListBox.SelectedItem);
  4447.             this.Save_Click(sender, e);
  4448.             #endregion
  4449.         }
  4450.         /// <summary>
  4451.         /// Show the About box
  4452.         /// </summary>
  4453.         /// <param name="sender"></param>
  4454.         /// <param name="e"></param>
  4455.         private void About_option_Click(object sender, System.EventArgs e)
  4456.         {
  4457.             #region
  4458.             About a = new About();
  4459.             a.ShowDialog(this);
  4460.             #endregion
  4461.         }
  4462.         /// <summary>
  4463.         /// De-Selects any selected button on the keyboard layout
  4464.         /// </summary>
  4465.         /// <param name="sender"></param>
  4466.         /// <param name="e"></param>
  4467.         private void Uncheckbuttons_option_Click(object sender, System.EventArgs e)
  4468.         {
  4469.             #region
  4470.             esc.Checked = true;
  4471.             esc.Checked = false;
  4472.             #endregion
  4473.         }
  4474.         /// <summary>
  4475.         /// Makes "RETURN" Key act the same as pressing the "Add Bind" Key
  4476.         /// </summary>
  4477.         /// <param name="sender"></param>
  4478.         /// <param name="e"></param>
  4479.         private void CustomBind_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
  4480.         {
  4481.             #region
  4482.             if(e.KeyChar == (char)13 && this.CustomBind.Text != "")
  4483.             {
  4484.                 e.Handled = true;
  4485.                 if(this.CustomBind.Text != "" && this.CustomBind.Text != "bind \"key\" \"command\"" && this.BindOptions_ListBox.CheckedItems.Count == 0)
  4486.                 {
  4487.                     this.CurrentBind_ListBox.Items.Add(this.CustomBind.Text);
  4488.                     this.CustomBind.Clear();
  4489.                 }
  4490.             }
  4491.             #endregion
  4492.         }
  4493.  
  4494.         /// <summary>
  4495.         /// Save current binds to czbind.cfg
  4496.         /// </summary>
  4497.         /// <param name="sender"></param>
  4498.         /// <param name="e"></param>
  4499.         private void Save_Click(object sender, System.EventArgs e)
  4500.         {
  4501.             #region
  4502.             ///////////////////////////////////////////////////////////////////////////////////////////
  4503.             // REMOVED BY STEVEN WHITLEY 11/28/03 BECAUSE IT IS NOT NEEDED IF USER WANTS TO SAVE CONFIG
  4504.             // ONLY AND DOES NOT HAVE ANY BINDS SET.
  4505.             ///////////////////////////////////////////////////////////////////////////////////////////
  4506.             //if(this.CurrentBind_ListBox.Items.Count == 0)
  4507.             //    MessageBox.Show("You Have No Binds To Save.","Error Nothing To Do",MessageBoxButtons.OK,MessageBoxIcon.Exclamation);
  4508.             ///////////////////////////////////////////////////////////////////////////////////////////
  4509.             
  4510.             if(this.m_bindFilePath == "" && this.m_configFilePath == "" || this.m_bindFilePath == "")
  4511.                 MessageBox.Show("No config.cfg file was selected\nGo To the File menu and select Locate Config File","Error No File Selected",MessageBoxButtons.OK,MessageBoxIcon.Error);
  4512.             
  4513.             if(this.CurrentBind_ListBox.Items.Count > 0 && this.m_bindFilePath != "")
  4514.             {
  4515.                 this.WriteBinds();
  4516.                 this.CurrentBind_ListBox.Items.Clear();
  4517.                 this.LoadConfigFile();
  4518.             }
  4519.             #endregion
  4520.         }
  4521.  
  4522.         /// <summary>
  4523.         /// Toggle the tooltips on or off
  4524.         /// </summary>
  4525.         /// <param name="sender"></param>
  4526.         /// <param name="e"></param>
  4527.         private void showTips_menuItem_Activate(object sender, System.EventArgs e)
  4528.         {
  4529.             #region DONE
  4530.             if(this.CZBindToolTip.Active == true)
  4531.             {
  4532.                 this.showTips_menuItem.Checked = false;
  4533.                 this.CZBindToolTip.Active = false;
  4534.                 this.ToolTipsEnabled.CurrentValue = "false";
  4535.                 this.UserPreferencesSettingContainer.Write();
  4536.             }
  4537.             else
  4538.             {
  4539.                 this.showTips_menuItem.Checked = true;
  4540.                 this.CZBindToolTip.Active = true;
  4541.                 this.ToolTipsEnabled.CurrentValue = "true";
  4542.                 this.UserPreferencesSettingContainer.Write();
  4543.             }
  4544.             #endregion
  4545.         }
  4546.         #region OPEN THE CONFIG FILES IN NOTEPAD
  4547.         private void config_menuItem_Activate(object sender, System.EventArgs e)
  4548.         {
  4549.             if(this.m_configFilePath != "")
  4550.                 if(File.Exists(this.m_configFilePath))
  4551.                     Process.Start("notepad.exe", this.m_configFilePath);
  4552.         }
  4553.  
  4554.         private void autoexec_menuItem_Activate(object sender, System.EventArgs e)
  4555.         {
  4556.             if(this.m_configFilePath != "")
  4557.             {
  4558.                 string autoexec = Regex.Replace(this.m_configFilePath, "config.cfg", "autoexec.cfg");
  4559.                 if(File.Exists(autoexec))
  4560.                     Process.Start("notepad.exe", autoexec);
  4561.             }
  4562.         }
  4563.  
  4564.         private void userConfig_menuItem_Activate(object sender, System.EventArgs e)
  4565.         {
  4566.             if(this.m_userFilePath != "")
  4567.                 if(File.Exists(this.m_userFilePath))
  4568.                     Process.Start("notepad.exe", this.m_userFilePath);
  4569.         }
  4570.  
  4571.         private void czbind_menuItem_Activate(object sender, System.EventArgs e)
  4572.         {
  4573.             if(this.m_bindFilePath != "")
  4574.                 if(File.Exists(this.m_bindFilePath))
  4575.                     Process.Start("notepad.exe", this.m_bindFilePath);
  4576.         }
  4577.  
  4578.         #endregion
  4579.  
  4580.         private void feedback_menuItem_Activate(object sender, System.EventArgs e)
  4581.         {
  4582.             Process.Start("http://www.bindmaker.org/modules.php?name=Forums&file=viewforum&f=3");
  4583.         }
  4584.  
  4585.         private void menuButtonItem1_Activate(object sender, System.EventArgs e)
  4586.         {
  4587.             Process.Start("http://www.bindmaker.org/modules.php?name=Forums&file=viewforum&f=2");
  4588.         }
  4589.     }
  4590. }
  4591.